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

Unified Diff: components/mus/server_view.h

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/mus/public/interfaces/view_tree_host.mojom ('k') | components/mus/server_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/server_view.h
diff --git a/components/view_manager/server_view.h b/components/mus/server_view.h
similarity index 93%
rename from components/view_manager/server_view.h
rename to components/mus/server_view.h
index 40688f7976e6deeca9864c4f70f9ea922b70de78..3ba49d756771ffdb83f5c84c04d5f59389faed11 100644
--- a/components/view_manager/server_view.h
+++ b/components/mus/server_view.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_
-#define COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_
+#ifndef COMPONENTS_MUS_SERVER_VIEW_H_
+#define COMPONENTS_MUS_SERVER_VIEW_H_
#include <vector>
@@ -13,8 +13,8 @@
#include "cc/surfaces/surface_factory_client.h"
#include "cc/surfaces/surface_id.h"
#include "cc/surfaces/surface_id_allocator.h"
-#include "components/view_manager/ids.h"
-#include "components/view_manager/public/interfaces/view_tree.mojom.h"
+#include "components/mus/ids.h"
+#include "components/mus/public/interfaces/view_tree.mojom.h"
#include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/transform.h"
@@ -35,8 +35,7 @@ class ServerViewObserver;
// ServerViews do not own their children. If you delete a view that has children
// the children are implicitly removed. Similarly if a view has a parent and the
// view is deleted the deleted view is implicitly removed from the parent.
-class ServerView : public mojo::Surface,
- public cc::SurfaceFactoryClient {
+class ServerView : public mojo::Surface, public cc::SurfaceFactoryClient {
public:
ServerView(ServerViewDelegate* delegate, const ViewId& id);
~ServerView() override;
@@ -164,4 +163,4 @@ class ServerView : public mojo::Surface,
} // namespace view_manager
-#endif // COMPONENTS_VIEW_MANAGER_SERVER_VIEW_H_
+#endif // COMPONENTS_MUS_SERVER_VIEW_H_
« no previous file with comments | « components/mus/public/interfaces/view_tree_host.mojom ('k') | components/mus/server_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698