| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 void CreateWindowManagerDisplayRootFromFactory( | 172 void CreateWindowManagerDisplayRootFromFactory( |
| 173 WindowManagerWindowTreeFactory* factory); | 173 WindowManagerWindowTreeFactory* factory); |
| 174 | 174 |
| 175 // Creates the root ServerWindow for this display, where |size| is in physical | 175 // Creates the root ServerWindow for this display, where |size| is in physical |
| 176 // pixels. | 176 // pixels. |
| 177 void CreateRootWindow(const gfx::Size& size); | 177 void CreateRootWindow(const gfx::Size& size); |
| 178 | 178 |
| 179 // PlatformDisplayDelegate: | 179 // PlatformDisplayDelegate: |
| 180 ServerWindow* GetRootWindow() override; | 180 ServerWindow* GetRootWindow() override; |
| 181 void OnAcceleratedWidgetAvailable() override; | 181 void OnAcceleratedWidgetAvailable() override; |
| 182 bool IsInHighContrastMode() override; | |
| 183 void OnEvent(const ui::Event& event) override; | 182 void OnEvent(const ui::Event& event) override; |
| 184 void OnNativeCaptureLost() override; | 183 void OnNativeCaptureLost() override; |
| 185 | 184 |
| 186 // FocusControllerDelegate: | 185 // FocusControllerDelegate: |
| 187 bool CanHaveActiveChildren(ServerWindow* window) const override; | 186 bool CanHaveActiveChildren(ServerWindow* window) const override; |
| 188 | 187 |
| 189 // FocusControllerObserver: | 188 // FocusControllerObserver: |
| 190 void OnActivationChanged(ServerWindow* old_active_window, | 189 void OnActivationChanged(ServerWindow* old_active_window, |
| 191 ServerWindow* new_active_window) override; | 190 ServerWindow* new_active_window) override; |
| 192 void OnFocusChanged(FocusControllerChangeSource change_source, | 191 void OnFocusChanged(FocusControllerChangeSource change_source, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 219 | 218 |
| 220 WindowManagerDisplayRootMap window_manager_display_root_map_; | 219 WindowManagerDisplayRootMap window_manager_display_root_map_; |
| 221 | 220 |
| 222 DISALLOW_COPY_AND_ASSIGN(Display); | 221 DISALLOW_COPY_AND_ASSIGN(Display); |
| 223 }; | 222 }; |
| 224 | 223 |
| 225 } // namespace ws | 224 } // namespace ws |
| 226 } // namespace ui | 225 } // namespace ui |
| 227 | 226 |
| 228 #endif // SERVICES_UI_WS_DISPLAY_H_ | 227 #endif // SERVICES_UI_WS_DISPLAY_H_ |
| OLD | NEW |