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

Unified Diff: mojo/aura/window_tree_host_mojo.h

Issue 460863002: Rename Node to View in the View Manager mojom & client lib. Service TBD. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | « no previous file | mojo/aura/window_tree_host_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/window_tree_host_mojo.h
diff --git a/mojo/aura/window_tree_host_mojo.h b/mojo/aura/window_tree_host_mojo.h
index 026253a071732aa3d14ea2c96805c25556c71ed7..75ae0706e23db6150583914cba92d9bfe1656053 100644
--- a/mojo/aura/window_tree_host_mojo.h
+++ b/mojo/aura/window_tree_host_mojo.h
@@ -5,7 +5,7 @@
#ifndef MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_
#define MOJO_EXAMPLES_AURA_DEMO_WINDOW_TREE_HOST_VIEW_MANAGER_H_
-#include "mojo/services/public/cpp/view_manager/node_observer.h"
+#include "mojo/services/public/cpp/view_manager/view_observer.h"
#include "ui/aura/window_tree_host.h"
#include "ui/events/event_source.h"
#include "ui/gfx/geometry/rect.h"
@@ -22,9 +22,9 @@ class WindowTreeHostMojoDelegate;
class WindowTreeHostMojo : public aura::WindowTreeHost,
public ui::EventSource,
- public NodeObserver {
+ public ViewObserver {
public:
- WindowTreeHostMojo(Node* node, WindowTreeHostMojoDelegate* delegate);
+ WindowTreeHostMojo(View* view, WindowTreeHostMojoDelegate* delegate);
virtual ~WindowTreeHostMojo();
// Returns the WindowTreeHostMojo for the specified compositor.
@@ -59,13 +59,13 @@ class WindowTreeHostMojo : public aura::WindowTreeHost,
// ui::EventSource:
virtual ui::EventProcessor* GetEventProcessor() OVERRIDE;
- // NodeObserver:
- virtual void OnNodeBoundsChanged(
- Node* node,
+ // ViewObserver:
+ virtual void OnViewBoundsChanged(
+ View* view,
const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) OVERRIDE;
- Node* node_;
+ View* view_;
gfx::Rect bounds_;
« no previous file with comments | « no previous file | mojo/aura/window_tree_host_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698