| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 176 |
| 177 // Creates the root ServerWindow for this display, where |size| is in physical | 177 // Creates the root ServerWindow for this display, where |size| is in physical |
| 178 // pixels. | 178 // pixels. |
| 179 void CreateRootWindow(const gfx::Size& size); | 179 void CreateRootWindow(const gfx::Size& size); |
| 180 | 180 |
| 181 // PlatformDisplayDelegate: | 181 // PlatformDisplayDelegate: |
| 182 ServerWindow* GetRootWindow() override; | 182 ServerWindow* GetRootWindow() override; |
| 183 EventSink* GetEventSink() override; | 183 EventSink* GetEventSink() override; |
| 184 void OnAcceleratedWidgetAvailable() override; | 184 void OnAcceleratedWidgetAvailable() override; |
| 185 void OnNativeCaptureLost() override; | 185 void OnNativeCaptureLost() override; |
| 186 OzonePlatform* GetOzonePlatform() override; |
| 186 | 187 |
| 187 // FocusControllerDelegate: | 188 // FocusControllerDelegate: |
| 188 bool CanHaveActiveChildren(ServerWindow* window) const override; | 189 bool CanHaveActiveChildren(ServerWindow* window) const override; |
| 189 | 190 |
| 190 // FocusControllerObserver: | 191 // FocusControllerObserver: |
| 191 void OnActivationChanged(ServerWindow* old_active_window, | 192 void OnActivationChanged(ServerWindow* old_active_window, |
| 192 ServerWindow* new_active_window) override; | 193 ServerWindow* new_active_window) override; |
| 193 void OnFocusChanged(FocusControllerChangeSource change_source, | 194 void OnFocusChanged(FocusControllerChangeSource change_source, |
| 194 ServerWindow* old_focused_window, | 195 ServerWindow* old_focused_window, |
| 195 ServerWindow* new_focused_window) override; | 196 ServerWindow* new_focused_window) override; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 223 | 224 |
| 224 WindowManagerDisplayRootMap window_manager_display_root_map_; | 225 WindowManagerDisplayRootMap window_manager_display_root_map_; |
| 225 | 226 |
| 226 DISALLOW_COPY_AND_ASSIGN(Display); | 227 DISALLOW_COPY_AND_ASSIGN(Display); |
| 227 }; | 228 }; |
| 228 | 229 |
| 229 } // namespace ws | 230 } // namespace ws |
| 230 } // namespace ui | 231 } // namespace ui |
| 231 | 232 |
| 232 #endif // SERVICES_UI_WS_DISPLAY_H_ | 233 #endif // SERVICES_UI_WS_DISPLAY_H_ |
| OLD | NEW |