| 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 ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 5 #ifndef ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
| 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 6 #define ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/host/ash_window_tree_host_platform.h" | 10 #include "ash/host/ash_window_tree_host_platform.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 public: | 25 public: |
| 26 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); | 26 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); |
| 27 ~AshWindowTreeHostUnified() override; | 27 ~AshWindowTreeHostUnified() override; |
| 28 | 28 |
| 29 private: | 29 private: |
| 30 // AshWindowTreeHost: | 30 // AshWindowTreeHost: |
| 31 void PrepareForShutdown() override; | 31 void PrepareForShutdown() override; |
| 32 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; | 32 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; |
| 33 | 33 |
| 34 // aura::WindowTreeHost: | 34 // aura::WindowTreeHost: |
| 35 void SetBounds(const gfx::Rect& bounds) override; | 35 void SetBoundsInPixel(const gfx::Rect& bounds) override; |
| 36 void SetCursorNative(gfx::NativeCursor cursor) override; | 36 void SetCursorNative(gfx::NativeCursor cursor) override; |
| 37 void OnCursorVisibilityChangedNative(bool show) override; | 37 void OnCursorVisibilityChangedNative(bool show) override; |
| 38 | 38 |
| 39 // ui::PlatformWindow: | 39 // ui::PlatformWindow: |
| 40 void OnBoundsChanged(const gfx::Rect& bounds) override; | 40 void OnBoundsChanged(const gfx::Rect& bounds) override; |
| 41 | 41 |
| 42 // aura::WindowObserver: | 42 // aura::WindowObserver: |
| 43 void OnWindowDestroying(aura::Window* window) override; | 43 void OnWindowDestroying(aura::Window* window) override; |
| 44 | 44 |
| 45 std::vector<AshWindowTreeHost*> mirroring_hosts_; | 45 std::vector<AshWindowTreeHost*> mirroring_hosts_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); | 47 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 } // namespace ash | 50 } // namespace ash |
| 51 | 51 |
| 52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 52 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
| OLD | NEW |