Bug 1671598 [wpt PR 26128] - [AspectRatio] Fix divide by zero with a small float...
[gecko.git] / widget / headless / HeadlessClipboard.h
blobda7819e1955916ef2c0208cd0c1fca78a0c03f31
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_widget_HeadlessClipboard_h
7 #define mozilla_widget_HeadlessClipboard_h
9 #include "nsIClipboard.h"
10 #include "mozilla/UniquePtr.h"
11 #include "HeadlessClipboardData.h"
13 namespace mozilla {
14 namespace widget {
16 class HeadlessClipboard final : public nsIClipboard {
17 public:
18 NS_DECL_ISUPPORTS
19 NS_DECL_NSICLIPBOARD
21 HeadlessClipboard();
23 protected:
24 ~HeadlessClipboard() = default;
26 private:
27 UniquePtr<HeadlessClipboardData> mClipboard;
30 } // namespace widget
31 } // namespace mozilla
33 #endif