| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 5 #ifndef MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
| 6 #define MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 6 #define MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void OnEmbed(ViewManager* view_manager, | 112 void OnEmbed(ViewManager* view_manager, |
| 113 View* root, | 113 View* root, |
| 114 ServiceProviderImpl* exported_services, | 114 ServiceProviderImpl* exported_services, |
| 115 scoped_ptr<ServiceProvider> imported_services) override; | 115 scoped_ptr<ServiceProvider> imported_services) override; |
| 116 void OnViewManagerDisconnected(ViewManager* view_manager) override; | 116 void OnViewManagerDisconnected(ViewManager* view_manager) override; |
| 117 | 117 |
| 118 // Overridden from ViewObserver: | 118 // Overridden from ViewObserver: |
| 119 void OnTreeChanged(const ViewObserver::TreeChangeParams& params) override; | 119 void OnTreeChanged(const ViewObserver::TreeChangeParams& params) override; |
| 120 void OnViewDestroying(View* view) override; | 120 void OnViewDestroying(View* view) override; |
| 121 void OnViewBoundsChanged(View* view, | 121 void OnViewBoundsChanged(View* view, |
| 122 const gfx::Rect& old_bounds, | 122 const Rect& old_bounds, |
| 123 const gfx::Rect& new_bounds) override; | 123 const Rect& new_bounds) override; |
| 124 | 124 |
| 125 // Overridden from ui::EventHandler: | 125 // Overridden from ui::EventHandler: |
| 126 void OnEvent(ui::Event* event) override; | 126 void OnEvent(ui::Event* event) override; |
| 127 | 127 |
| 128 // Overridden from aura::client::FocusChangeObserver: | 128 // Overridden from aura::client::FocusChangeObserver: |
| 129 void OnWindowFocused(aura::Window* gained_focus, | 129 void OnWindowFocused(aura::Window* gained_focus, |
| 130 aura::Window* lost_focus) override; | 130 aura::Window* lost_focus) override; |
| 131 | 131 |
| 132 // Overridden from aura::client::ActivationChangeObserver: | 132 // Overridden from aura::client::ActivationChangeObserver: |
| 133 void OnWindowActivated(aura::Window* gained_active, | 133 void OnWindowActivated(aura::Window* gained_active, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 ScopedVector<PendingEmbed> pending_embeds_; | 183 ScopedVector<PendingEmbed> pending_embeds_; |
| 184 | 184 |
| 185 scoped_ptr<ViewManagerClient> view_manager_client_; | 185 scoped_ptr<ViewManagerClient> view_manager_client_; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); | 187 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace mojo | 190 } // namespace mojo |
| 191 | 191 |
| 192 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 192 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
| OLD | NEW |