1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef mozilla_widget_HeadlessClipboardData_h
6 #define mozilla_widget_HeadlessClipboardData_h
8 #include "mozilla/RefPtr.h"
14 class HeadlessClipboardData final
{
16 HeadlessClipboardData() : mPlain(VoidString()) {}
17 ~HeadlessClipboardData() = default;
20 void SetText(const nsAString
& aText
);
22 const nsAString
& GetText() const;
23 int32_t GetChangeCount() const;
30 int32_t mChangeCount
= 0;
34 } // namespace mozilla
36 #endif // mozilla_widget_HeadlessClipboardData_h