OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef BLIMP_ENGINE_UI_BLIMP_SCREEN_H_ | 5 #ifndef BLIMP_ENGINE_UI_BLIMP_SCREEN_H_ |
6 #define BLIMP_ENGINE_UI_BLIMP_SCREEN_H_ | 6 #define BLIMP_ENGINE_UI_BLIMP_SCREEN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "ui/gfx/display.h" | 10 #include "ui/gfx/display.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override; | 28 gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override; |
29 int GetNumDisplays() const override; | 29 int GetNumDisplays() const override; |
30 std::vector<gfx::Display> GetAllDisplays() const override; | 30 std::vector<gfx::Display> GetAllDisplays() const override; |
31 gfx::Display GetDisplayNearestWindow(gfx::NativeView view) const override; | 31 gfx::Display GetDisplayNearestWindow(gfx::NativeView view) const override; |
32 gfx::Display GetDisplayNearestPoint(const gfx::Point& point) const override; | 32 gfx::Display GetDisplayNearestPoint(const gfx::Point& point) const override; |
33 gfx::Display GetDisplayMatching(const gfx::Rect& match_rect) const override; | 33 gfx::Display GetDisplayMatching(const gfx::Rect& match_rect) const override; |
34 gfx::Display GetPrimaryDisplay() const override; | 34 gfx::Display GetPrimaryDisplay() const override; |
35 void AddObserver(gfx::DisplayObserver* observer) override; | 35 void AddObserver(gfx::DisplayObserver* observer) override; |
36 void RemoveObserver(gfx::DisplayObserver* observer) override; | 36 void RemoveObserver(gfx::DisplayObserver* observer) override; |
37 | 37 |
| 38 static const int kDefaultDisplayWidth; |
| 39 static const int kDefaultDisplayHeight; |
| 40 |
38 private: | 41 private: |
39 gfx::Display display_; | 42 gfx::Display display_; |
40 | 43 |
41 DISALLOW_COPY_AND_ASSIGN(BlimpScreen); | 44 DISALLOW_COPY_AND_ASSIGN(BlimpScreen); |
42 }; | 45 }; |
43 | 46 |
44 } // namespace engine | 47 } // namespace engine |
45 } // namespace blimp | 48 } // namespace blimp |
46 | 49 |
47 #endif // BLIMP_ENGINE_UI_BLIMP_SCREEN_H_ | 50 #endif // BLIMP_ENGINE_UI_BLIMP_SCREEN_H_ |
OLD | NEW |