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

Unified Diff: mojo/services/view_manager/display_manager.h

Issue 513923004: More viewmanager renaming: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sim30 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 | « mojo/services/view_manager/default_access_policy.cc ('k') | mojo/services/view_manager/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/view_manager/display_manager.h
diff --git a/mojo/services/view_manager/display_manager.h b/mojo/services/view_manager/display_manager.h
index b7ba8cf740ca1d0d6a0f796249845a52d55d544b..1aa401dd8e01ea5b107c3817146036d572e26b03 100644
--- a/mojo/services/view_manager/display_manager.h
+++ b/mojo/services/view_manager/display_manager.h
@@ -35,21 +35,21 @@ class ApplicationConnection;
namespace service {
-class Node;
-class RootNodeManager;
+class ConnectionManager;
class DisplayManagerDelegate;
+class ServerView;
-// DisplayManager binds the root node to an actual display.
+// DisplayManager binds the root view to an actual display.
class MOJO_VIEW_MANAGER_EXPORT DisplayManager {
public:
DisplayManager(ApplicationConnection* app_connection,
- RootNodeManager* root_node,
- DisplayManagerDelegate* delegate,
- const Callback<void()>& native_viewport_closed_callback);
+ ConnectionManager* connection_manager,
+ DisplayManagerDelegate* delegate,
+ const Callback<void()>& native_viewport_closed_callback);
virtual ~DisplayManager();
- // Schedules a paint for the specified region of the specified node.
- void SchedulePaint(const Node* node, const gfx::Rect& bounds);
+ // Schedules a paint for the specified region of the specified view.
+ void SchedulePaint(const ServerView* view, const gfx::Rect& bounds);
// See description above field for details.
bool in_setup() const { return in_setup_; }
@@ -61,9 +61,9 @@ class MOJO_VIEW_MANAGER_EXPORT DisplayManager {
DisplayManagerDelegate* delegate_;
- RootNodeManager* root_node_manager_;
+ ConnectionManager* connection_manager_;
- // Returns true if adding the root node's window to |window_tree_host_|.
+ // Returns true if adding the root view's window to |window_tree_host_|.
bool in_setup_;
scoped_ptr<RootWindowDelegateImpl> window_delegate_;
« no previous file with comments | « mojo/services/view_manager/default_access_policy.cc ('k') | mojo/services/view_manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698