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

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: rebase 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698