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

Unified Diff: mojo/views/native_widget_view_manager.h

Issue 383123006: Preliminary interactive layout of window manager's demo_launcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Looks Good Created 6 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/examples/window_manager/window_manager.cc ('k') | mojo/views/native_widget_view_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/views/native_widget_view_manager.h
diff --git a/mojo/views/native_widget_view_manager.h b/mojo/views/native_widget_view_manager.h
index b8050f34b21bf0a5f6a0e97e26cfd180bc6c785c..564e4676c8c63e9af159d9624eb5d9a5fb3ceb6b 100644
--- a/mojo/views/native_widget_view_manager.h
+++ b/mojo/views/native_widget_view_manager.h
@@ -47,10 +47,14 @@ class NativeWidgetViewManager : public views::NativeWidgetAura,
virtual void OnNodeActiveViewChanged(view_manager::Node* node,
view_manager::View* old_view,
view_manager::View* new_view) OVERRIDE;
+ virtual void OnNodeBoundsChanged(view_manager::Node* node,
+ const gfx::Rect& old_bounds,
+ const gfx::Rect& new_bounds) OVERRIDE;
// view_manager::ViewObserver
virtual void OnViewInputEvent(view_manager::View* view,
const EventPtr& event) OVERRIDE;
+ virtual void OnViewDestroyed(view_manager::View* view) OVERRIDE;
scoped_ptr<WindowTreeHostMojo> window_tree_host_;
@@ -59,6 +63,7 @@ class NativeWidgetViewManager : public views::NativeWidgetAura,
scoped_ptr<ui::internal::InputMethodDelegate> ime_filter_;
view_manager::Node* node_;
+ view_manager::View* view_;
scoped_ptr<wm::ScopedCaptureClient> capture_client_;
« no previous file with comments | « mojo/examples/window_manager/window_manager.cc ('k') | mojo/views/native_widget_view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698