| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 void OnEmbed(ViewManager* view_manager, | 106 void OnEmbed(ViewManager* view_manager, |
| 107 View* root, | 107 View* root, |
| 108 ServiceProviderImpl* exported_services, | 108 ServiceProviderImpl* exported_services, |
| 109 scoped_ptr<ServiceProvider> imported_services) override; | 109 scoped_ptr<ServiceProvider> imported_services) override; |
| 110 void OnViewManagerDisconnected(ViewManager* view_manager) override; | 110 void OnViewManagerDisconnected(ViewManager* view_manager) override; |
| 111 | 111 |
| 112 // Overridden from ViewObserver: | 112 // Overridden from ViewObserver: |
| 113 void OnTreeChanged(const ViewObserver::TreeChangeParams& params) override; | 113 void OnTreeChanged(const ViewObserver::TreeChangeParams& params) override; |
| 114 void OnViewDestroying(View* view) override; | 114 void OnViewDestroying(View* view) override; |
| 115 void OnViewBoundsChanged(View* view, | 115 void OnViewBoundsChanged(View* view, |
| 116 const gfx::Rect& old_bounds, | 116 const Rect& old_bounds, |
| 117 const gfx::Rect& new_bounds) override; | 117 const Rect& new_bounds) override; |
| 118 | 118 |
| 119 // Overridden from ui::EventHandler: | 119 // Overridden from ui::EventHandler: |
| 120 void OnEvent(ui::Event* event) override; | 120 void OnEvent(ui::Event* event) override; |
| 121 | 121 |
| 122 // Overridden from aura::client::FocusChangeObserver: | 122 // Overridden from aura::client::FocusChangeObserver: |
| 123 void OnWindowFocused(aura::Window* gained_focus, | 123 void OnWindowFocused(aura::Window* gained_focus, |
| 124 aura::Window* lost_focus) override; | 124 aura::Window* lost_focus) override; |
| 125 | 125 |
| 126 // Overridden from aura::client::ActivationChangeObserver: | 126 // Overridden from aura::client::ActivationChangeObserver: |
| 127 void OnWindowActivated(aura::Window* gained_active, | 127 void OnWindowActivated(aura::Window* gained_active, |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 scoped_ptr<DummyDelegate> dummy_delegate_; | 166 scoped_ptr<DummyDelegate> dummy_delegate_; |
| 167 | 167 |
| 168 WindowManagerClient* window_manager_client_; | 168 WindowManagerClient* window_manager_client_; |
| 169 | 169 |
| 170 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); | 170 DISALLOW_COPY_AND_ASSIGN(WindowManagerApp); |
| 171 }; | 171 }; |
| 172 | 172 |
| 173 } // namespace mojo | 173 } // namespace mojo |
| 174 | 174 |
| 175 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ | 175 #endif // MOJO_SERVICES_WINDOW_MANAGER_WINDOW_MANAGER_APP_H_ |
| OLD | NEW |