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

Unified Diff: mojo/services/public/cpp/view_manager/view_manager.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
Index: mojo/services/public/cpp/view_manager/view_manager.h
diff --git a/mojo/services/public/cpp/view_manager/view_manager.h b/mojo/services/public/cpp/view_manager/view_manager.h
index 9f183cef211842f39694b71c06536742abafefc5..90fe93c135aabb9f50f534cd6b3530dfd934d84c 100644
--- a/mojo/services/public/cpp/view_manager/view_manager.h
+++ b/mojo/services/public/cpp/view_manager/view_manager.h
@@ -13,7 +13,7 @@
namespace mojo {
class ApplicationConnection;
-class Node;
+class View;
class ViewManagerDelegate;
class WindowManagerDelegate;
@@ -24,22 +24,22 @@ class WindowManagerDelegate;
class ViewManager {
public:
// Sets the window manager delegate. Can only be called by the app embedded at
- // the service root node.
+ // the service root view.
virtual void SetWindowManagerDelegate(
WindowManagerDelegate* window_manager_delegate) = 0;
- // Dispatches the supplied event to the specified Node. Can be called only
+ // Dispatches the supplied event to the specified View. Can be called only
// by the application that called SetWindowManagerDelegate().
- virtual void DispatchEvent(Node* target, EventPtr event) = 0;
+ virtual void DispatchEvent(View* target, EventPtr event) = 0;
// Returns the URL of the application that embedded this application.
virtual const std::string& GetEmbedderURL() const = 0;
- // Returns all root nodes known to this connection.
- virtual const std::vector<Node*>& GetRoots() const = 0;
+ // Returns all root views known to this connection.
+ virtual const std::vector<View*>& GetRoots() const = 0;
- // Returns a Node known to this connection.
- virtual Node* GetNodeById(Id id) = 0;
+ // Returns a View known to this connection.
+ virtual View* GetViewById(Id id) = 0;
protected:
virtual ~ViewManager() {}
« no previous file with comments | « mojo/services/public/cpp/view_manager/view.h ('k') | mojo/services/public/cpp/view_manager/view_manager_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698