Bug 1732219 - Add API for fetching the preview image. r=geckoview-reviewers,agi,mconley
[gecko.git] / gfx / thebes / DisplayConfigWindows.h
blobfa5fae8b22efb5c5ecdd3acda2e749272069e5a8
1 /* -*- Mode: C++; tab-width: 20; 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_gfx_thebes_DisplayConfigWindows_h
7 #define mozilla_gfx_thebes_DisplayConfigWindows_h
9 #include <utility> // for std::pair
10 #include "mozilla/gfx/Point.h" // for IntSize
11 #include "nsTArray.h"
13 namespace mozilla {
14 namespace gfx {
16 extern bool HasScaledResolution();
18 typedef nsTArray<std::pair<IntSize, IntSize>> ScaledResolutionSet;
19 void GetScaledResolutions(ScaledResolutionSet& aRv);
21 } // namespace gfx
22 } // namespace mozilla
24 #endif // mozilla_gfx_thebes_DisplayConfigWindows_h