Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / widget / cocoa / nsScreenManagerCocoa.h
blob75f571bd3853924605e16bb6be735649c5fd0237
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 nsScreenManagerCocoa_h_
7 #define nsScreenManagerCocoa_h_
9 #import <Cocoa/Cocoa.h>
11 #include "nsTArray.h"
12 #include "nsAutoPtr.h"
13 #include "nsIScreenManager.h"
14 #include "nsScreenCocoa.h"
16 class nsScreenManagerCocoa : public nsIScreenManager
18 public:
19 nsScreenManagerCocoa();
21 NS_DECL_ISUPPORTS
22 NS_DECL_NSISCREENMANAGER
24 protected:
25 virtual ~nsScreenManagerCocoa();
27 private:
29 nsScreenCocoa *ScreenForCocoaScreen(NSScreen *screen);
30 nsTArray< nsRefPtr<nsScreenCocoa> > mScreenList;
33 #endif // nsScreenManagerCocoa_h_