| 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 UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 5 #ifndef UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| 6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 6 #define UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 // WindowPort: | 225 // WindowPort: |
| 226 void OnPreInit(Window* window) override; | 226 void OnPreInit(Window* window) override; |
| 227 void OnDeviceScaleFactorChanged(float device_scale_factor) override; | 227 void OnDeviceScaleFactorChanged(float device_scale_factor) override; |
| 228 void OnWillAddChild(Window* child) override; | 228 void OnWillAddChild(Window* child) override; |
| 229 void OnWillRemoveChild(Window* child) override; | 229 void OnWillRemoveChild(Window* child) override; |
| 230 void OnWillMoveChild(size_t current_index, size_t dest_index) override; | 230 void OnWillMoveChild(size_t current_index, size_t dest_index) override; |
| 231 void OnVisibilityChanged(bool visible) override; | 231 void OnVisibilityChanged(bool visible) override; |
| 232 void OnDidChangeBounds(const gfx::Rect& old_bounds, | 232 void OnDidChangeBounds(const gfx::Rect& old_bounds, |
| 233 const gfx::Rect& new_bounds) override; | 233 const gfx::Rect& new_bounds) override; |
| 234 std::unique_ptr<WindowPortPropertyData> OnWillChangeProperty( | 234 std::unique_ptr<ui::PropertyData> OnWillChangeProperty( |
| 235 const void* key) override; | 235 const void* key) override; |
| 236 void OnPropertyChanged(const void* key, | 236 void OnPropertyChanged(const void* key, |
| 237 std::unique_ptr<WindowPortPropertyData> data) override; | 237 std::unique_ptr<ui::PropertyData> data) override; |
| 238 | 238 |
| 239 WindowTreeClient* window_tree_client_; | 239 WindowTreeClient* window_tree_client_; |
| 240 | 240 |
| 241 Window* window_ = nullptr; | 241 Window* window_ = nullptr; |
| 242 | 242 |
| 243 // Used when this window is embedding a client. | 243 // Used when this window is embedding a client. |
| 244 std::unique_ptr<ClientSurfaceEmbedder> client_surface_embedder; | 244 std::unique_ptr<ClientSurfaceEmbedder> client_surface_embedder; |
| 245 | 245 |
| 246 ServerChangeIdType next_server_change_id_ = 0; | 246 ServerChangeIdType next_server_change_id_ = 0; |
| 247 ServerChanges server_changes_; | 247 ServerChanges server_changes_; |
| 248 | 248 |
| 249 cc::SurfaceInfo surface_info_; | 249 cc::SurfaceInfo surface_info_; |
| 250 | 250 |
| 251 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; | 251 ui::mojom::Cursor predefined_cursor_ = ui::mojom::Cursor::CURSOR_NULL; |
| 252 | 252 |
| 253 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 253 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
| 254 }; | 254 }; |
| 255 | 255 |
| 256 } // namespace aura | 256 } // namespace aura |
| 257 | 257 |
| 258 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 258 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| OLD | NEW |