summaryrefslogtreecommitdiffstats
path: root/widget/cocoa/nsMacUserActivityUpdater.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/cocoa/nsMacUserActivityUpdater.h')
-rw-r--r--widget/cocoa/nsMacUserActivityUpdater.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/widget/cocoa/nsMacUserActivityUpdater.h b/widget/cocoa/nsMacUserActivityUpdater.h
new file mode 100644
index 0000000000..6870a66343
--- /dev/null
+++ b/widget/cocoa/nsMacUserActivityUpdater.h
@@ -0,0 +1,23 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+#ifndef nsMacUserActivityUpdater_h_
+#define nsMacUserActivityUpdater_h_
+
+#include "nsIMacUserActivityUpdater.h"
+#include "nsCocoaWindow.h"
+
+class nsMacUserActivityUpdater : public nsIMacUserActivityUpdater {
+ public:
+ nsMacUserActivityUpdater() {}
+
+ NS_DECL_ISUPPORTS
+ NS_DECL_NSIMACUSERACTIVITYUPDATER
+
+ protected:
+ virtual ~nsMacUserActivityUpdater() {}
+ BaseWindow* GetCocoaWindow(nsIBaseWindow* aWindow);
+};
+
+#endif // nsMacUserActivityUpdater_h_