| 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 void CreateWindowManagerDisplayRootsFromFactories(); | 157 void CreateWindowManagerDisplayRootsFromFactories(); |
| 158 | 158 |
| 159 void CreateWindowManagerDisplayRootFromFactory( | 159 void CreateWindowManagerDisplayRootFromFactory( |
| 160 WindowManagerWindowTreeFactory* factory); | 160 WindowManagerWindowTreeFactory* factory); |
| 161 | 161 |
| 162 // Creates the root ServerWindow for this display, where |size| is in physical | 162 // Creates the root ServerWindow for this display, where |size| is in physical |
| 163 // pixels. | 163 // pixels. |
| 164 void CreateRootWindow(const gfx::Size& size); | 164 void CreateRootWindow(const gfx::Size& size); |
| 165 | 165 |
| 166 // PlatformDisplayDelegate: | 166 // PlatformDisplayDelegate: |
| 167 display::Display GetDisplay() override; |
| 167 ServerWindow* GetRootWindow() override; | 168 ServerWindow* GetRootWindow() override; |
| 168 void OnAcceleratedWidgetAvailable() override; | 169 void OnAcceleratedWidgetAvailable() override; |
| 169 bool IsInHighContrastMode() override; | 170 bool IsInHighContrastMode() override; |
| 170 void OnEvent(const ui::Event& event) override; | 171 void OnEvent(const ui::Event& event) override; |
| 171 void OnNativeCaptureLost() override; | 172 void OnNativeCaptureLost() override; |
| 172 | 173 |
| 173 // FocusControllerDelegate: | 174 // FocusControllerDelegate: |
| 174 bool CanHaveActiveChildren(ServerWindow* window) const override; | 175 bool CanHaveActiveChildren(ServerWindow* window) const override; |
| 175 | 176 |
| 176 // FocusControllerObserver: | 177 // FocusControllerObserver: |
| (...skipping 23 matching lines...) Expand all Loading... |
| 200 | 201 |
| 201 WindowManagerDisplayRootMap window_manager_display_root_map_; | 202 WindowManagerDisplayRootMap window_manager_display_root_map_; |
| 202 | 203 |
| 203 DISALLOW_COPY_AND_ASSIGN(Display); | 204 DISALLOW_COPY_AND_ASSIGN(Display); |
| 204 }; | 205 }; |
| 205 | 206 |
| 206 } // namespace ws | 207 } // namespace ws |
| 207 } // namespace ui | 208 } // namespace ui |
| 208 | 209 |
| 209 #endif // SERVICES_UI_WS_DISPLAY_H_ | 210 #endif // SERVICES_UI_WS_DISPLAY_H_ |
| OLD | NEW |