Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_UI_WS_PLATFORM_DISPLAY_DEFAULT_H_ | 5 #ifndef SERVICES_UI_WS_PLATFORM_DISPLAY_DEFAULT_H_ |
| 6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_DEFAULT_H_ | 6 #define SERVICES_UI_WS_PLATFORM_DISPLAY_DEFAULT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "services/ui/display/viewport_metrics.h" | 11 #include "services/ui/display/viewport_metrics.h" |
| 12 #include "services/ui/ws/frame_generator.h" | 12 #include "services/ui/ws/frame_generator.h" |
| 13 #include "services/ui/ws/frame_generator_delegate.h" | 13 #include "services/ui/ws/frame_generator_delegate.h" |
| 14 #include "services/ui/ws/platform_display.h" | 14 #include "services/ui/ws/platform_display.h" |
| 15 #include "services/ui/ws/platform_display_delegate.h" | 15 #include "services/ui/ws/platform_display_delegate.h" |
| 16 #include "ui/platform_window/platform_window_delegate.h" | 16 #include "ui/platform_window/platform_window_delegate.h" |
| 17 | 17 |
| 18 namespace ui { | 18 namespace ui { |
| 19 | 19 |
| 20 class ImageCursors; | 20 class ImageCursors; |
| 21 class LocatedEvent; | |
|
Fady Samuel
2017/03/10 19:17:40
Revert?
Alex Z.
2017/03/10 19:28:50
This forward declaration is needed for UpdateEvent
| |
| 21 class PlatformWindow; | 22 class PlatformWindow; |
| 22 | 23 |
| 23 namespace ws { | 24 namespace ws { |
| 24 | 25 |
| 25 // PlatformDisplay implementation that connects to a PlatformWindow and | 26 // PlatformDisplay implementation that connects to a PlatformWindow and |
| 26 // FrameGenerator for Chrome OS. | 27 // FrameGenerator for Chrome OS. |
| 27 class PlatformDisplayDefault : public PlatformDisplay, | 28 class PlatformDisplayDefault : public PlatformDisplay, |
| 28 public ui::PlatformWindowDelegate, | 29 public ui::PlatformWindowDelegate, |
| 29 public FrameGeneratorDelegate { | 30 public FrameGeneratorDelegate { |
| 30 public: | 31 public: |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 ServerWindow* root_window_; | 87 ServerWindow* root_window_; |
| 87 float init_device_scale_factor_; | 88 float init_device_scale_factor_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(PlatformDisplayDefault); | 90 DISALLOW_COPY_AND_ASSIGN(PlatformDisplayDefault); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace ws | 93 } // namespace ws |
| 93 } // namespace ui | 94 } // namespace ui |
| 94 | 95 |
| 95 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_DEFAULT_H_ | 96 #endif // SERVICES_UI_WS_PLATFORM_DISPLAY_DEFAULT_H_ |
| OLD | NEW |