Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: mojo/services/window_manager/window_manager_app.h

Issue 658923003: Remove dependency on ui from view_manager. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698