| 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 10 matching lines...) Expand all Loading... |
| 21 public: | 21 public: |
| 22 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); | 22 explicit AshWindowTreeHostUnified(const gfx::Rect& initial_bounds); |
| 23 ~AshWindowTreeHostUnified() override; | 23 ~AshWindowTreeHostUnified() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 // AshWindowTreeHost: | 26 // AshWindowTreeHost: |
| 27 void PrepareForShutdown() override; | 27 void PrepareForShutdown() override; |
| 28 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; | 28 void RegisterMirroringHost(AshWindowTreeHost* mirroring_ash_host) override; |
| 29 | 29 |
| 30 // aura::WindowTreeHost: | 30 // aura::WindowTreeHost: |
| 31 void SetBounds(const gfx::Rect& bounds) override; | 31 void SetBoundsInPixels(const gfx::Rect& bounds) override; |
| 32 void SetCursorNative(gfx::NativeCursor cursor) override; | 32 void SetCursorNative(gfx::NativeCursor cursor) override; |
| 33 void OnCursorVisibilityChangedNative(bool show) override; | 33 void OnCursorVisibilityChangedNative(bool show) override; |
| 34 | 34 |
| 35 // ui::PlatformWindow: | 35 // ui::PlatformWindow: |
| 36 void OnBoundsChanged(const gfx::Rect& bounds) override; | 36 void OnBoundsChanged(const gfx::Rect& bounds) override; |
| 37 | 37 |
| 38 // aura::WindowObserver: | 38 // aura::WindowObserver: |
| 39 void OnWindowDestroying(aura::Window* window) override; | 39 void OnWindowDestroying(aura::Window* window) override; |
| 40 | 40 |
| 41 std::vector<AshWindowTreeHost*> mirroring_hosts_; | 41 std::vector<AshWindowTreeHost*> mirroring_hosts_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); | 43 DISALLOW_COPY_AND_ASSIGN(AshWindowTreeHostUnified); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace ash | 46 } // namespace ash |
| 47 | 47 |
| 48 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ | 48 #endif // ASH_HOST_ASH_WINDOW_TREE_HOST_UNIFIED_H_ |
| OLD | NEW |