| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 void OnWillRemoveChild(Window* child) override; | 255 void OnWillRemoveChild(Window* child) override; |
| 256 void OnWillMoveChild(size_t current_index, size_t dest_index) override; | 256 void OnWillMoveChild(size_t current_index, size_t dest_index) override; |
| 257 void OnVisibilityChanged(bool visible) override; | 257 void OnVisibilityChanged(bool visible) override; |
| 258 void OnDidChangeBounds(const gfx::Rect& old_bounds, | 258 void OnDidChangeBounds(const gfx::Rect& old_bounds, |
| 259 const gfx::Rect& new_bounds) override; | 259 const gfx::Rect& new_bounds) override; |
| 260 std::unique_ptr<ui::PropertyData> OnWillChangeProperty( | 260 std::unique_ptr<ui::PropertyData> OnWillChangeProperty( |
| 261 const void* key) override; | 261 const void* key) override; |
| 262 void OnPropertyChanged(const void* key, | 262 void OnPropertyChanged(const void* key, |
| 263 int64_t old_value, | 263 int64_t old_value, |
| 264 std::unique_ptr<ui::PropertyData> data) override; | 264 std::unique_ptr<ui::PropertyData> data) override; |
| 265 std::unique_ptr<cc::CompositorFrameSink> CreateCompositorFrameSink() override; |
| 266 cc::SurfaceId GetSurfaceId() const override; |
| 267 void OnWindowAddedToRootWindow() override {} |
| 268 void OnWindowRemovingFromRootWindow() override {} |
| 265 | 269 |
| 266 void UpdatePrimarySurfaceInfo(); | 270 void UpdatePrimarySurfaceInfo(); |
| 267 void UpdateClientSurfaceEmbedder(); | 271 void UpdateClientSurfaceEmbedder(); |
| 268 | 272 |
| 269 WindowTreeClient* window_tree_client_; | 273 WindowTreeClient* window_tree_client_; |
| 270 | 274 |
| 271 Window* window_ = nullptr; | 275 Window* window_ = nullptr; |
| 272 | 276 |
| 273 // Used when this window is embedding a client. | 277 // Used when this window is embedding a client. |
| 274 std::unique_ptr<ClientSurfaceEmbedder> client_surface_embedder_; | 278 std::unique_ptr<ClientSurfaceEmbedder> client_surface_embedder_; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 287 gfx::Size last_surface_size_; | 291 gfx::Size last_surface_size_; |
| 288 | 292 |
| 289 ui::CursorData cursor_; | 293 ui::CursorData cursor_; |
| 290 | 294 |
| 291 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); | 295 DISALLOW_COPY_AND_ASSIGN(WindowPortMus); |
| 292 }; | 296 }; |
| 293 | 297 |
| 294 } // namespace aura | 298 } // namespace aura |
| 295 | 299 |
| 296 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ | 300 #endif // UI_AURA_MUS_WINDOW_PORT_MUS_H_ |
| OLD | NEW |