1 /* -*- Mode: C++; tab-width: 40; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: ts=4 sw=2 expandtab:
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef ScreenHelperAndroid_h___
8 #define ScreenHelperAndroid_h___
10 #include "mozilla/widget/ScreenManager.h"
11 #include "nsTHashMap.h"
16 class ScreenHelperAndroid final
: public ScreenManager::Helper
{
18 class ScreenHelperSupport
;
20 ScreenHelperAndroid();
21 ~ScreenHelperAndroid();
23 static ScreenHelperAndroid
* GetSingleton();
26 already_AddRefed
<Screen
> ScreenForId(uint32_t aScreenId
);
29 nsTHashMap
<uint32_t, RefPtr
<Screen
>> mScreens
;
33 } // namespace mozilla
35 #endif /* ScreenHelperAndroid_h___ */