| 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 SERVICES_UI_WS_DISPLAY_H_ | 5 #ifndef SERVICES_UI_WS_DISPLAY_H_ |
| 6 #define SERVICES_UI_WS_DISPLAY_H_ | 6 #define SERVICES_UI_WS_DISPLAY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 void InitWindowManagerDisplayRootsIfNecessary(); | 161 void InitWindowManagerDisplayRootsIfNecessary(); |
| 162 | 162 |
| 163 // Creates the set of WindowManagerDisplayRoots from the | 163 // Creates the set of WindowManagerDisplayRoots from the |
| 164 // WindowManagerWindowTreeFactorySet. | 164 // WindowManagerWindowTreeFactorySet. |
| 165 void CreateWindowManagerDisplayRootsFromFactories(); | 165 void CreateWindowManagerDisplayRootsFromFactories(); |
| 166 | 166 |
| 167 void CreateWindowManagerDisplayRootFromFactory( | 167 void CreateWindowManagerDisplayRootFromFactory( |
| 168 WindowManagerWindowTreeFactory* factory); | 168 WindowManagerWindowTreeFactory* factory); |
| 169 | 169 |
| 170 // PlatformDisplayDelegate: | 170 // PlatformDisplayDelegate: |
| 171 void CreateRootWindow(const gfx::Size& size) override; |
| 171 ServerWindow* GetRootWindow() override; | 172 ServerWindow* GetRootWindow() override; |
| 172 bool IsInHighContrastMode() override; | 173 bool IsInHighContrastMode() override; |
| 173 void OnEvent(const ui::Event& event) override; | 174 void OnEvent(const ui::Event& event) override; |
| 174 void OnNativeCaptureLost() override; | 175 void OnNativeCaptureLost() override; |
| 175 void OnViewportMetricsChanged(const ViewportMetrics& old_metrics, | 176 void OnViewportMetricsChanged(const ViewportMetrics& old_metrics, |
| 176 const ViewportMetrics& new_metrics) override; | 177 const ViewportMetrics& new_metrics) override; |
| 177 void OnCompositorFrameDrawn() override; | 178 void OnCompositorFrameDrawn() override; |
| 178 | 179 |
| 179 // FocusControllerDelegate: | 180 // FocusControllerDelegate: |
| 180 bool CanHaveActiveChildren(ServerWindow* window) const override; | 181 bool CanHaveActiveChildren(ServerWindow* window) const override; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 216 |
| 216 WindowManagerDisplayRootMap window_manager_display_root_map_; | 217 WindowManagerDisplayRootMap window_manager_display_root_map_; |
| 217 | 218 |
| 218 DISALLOW_COPY_AND_ASSIGN(Display); | 219 DISALLOW_COPY_AND_ASSIGN(Display); |
| 219 }; | 220 }; |
| 220 | 221 |
| 221 } // namespace ws | 222 } // namespace ws |
| 222 } // namespace ui | 223 } // namespace ui |
| 223 | 224 |
| 224 #endif // SERVICES_UI_WS_DISPLAY_H_ | 225 #endif // SERVICES_UI_WS_DISPLAY_H_ |
| OLD | NEW |