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

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

Issue 315223004: Moves view_manager files to view_manager directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm sample_view_manager.app again Created 6 years, 6 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/view_manager/window_tree_host_impl.h
diff --git a/mojo/aura/window_tree_host_mojo.h b/mojo/services/view_manager/window_tree_host_impl.h
similarity index 86%
rename from mojo/aura/window_tree_host_mojo.h
rename to mojo/services/view_manager/window_tree_host_impl.h
index ed5246d386568edcf2237824e07e52abfcebabda..0a337cd8d8c898b4d7c7ee712d42a25fa4130094 100644
--- a/mojo/aura/window_tree_host_mojo.h
+++ b/mojo/services/view_manager/window_tree_host_impl.h
@@ -16,17 +16,19 @@ class ContextFactory;
}
namespace mojo {
+namespace view_manager {
+namespace service {
-class ContextFactoryMojo;
+class ContextFactoryImpl;
-class WindowTreeHostMojo : public aura::WindowTreeHost,
+class WindowTreeHostImpl : public aura::WindowTreeHost,
public ui::EventSource,
public NativeViewportClient {
public:
- WindowTreeHostMojo(NativeViewportPtr viewport,
+ WindowTreeHostImpl(NativeViewportPtr viewport,
const gfx::Rect& bounds,
const base::Callback<void()>& compositor_created_callback);
- virtual ~WindowTreeHostMojo();
+ virtual ~WindowTreeHostImpl();
gfx::Rect bounds() const { return bounds_; }
@@ -57,16 +59,18 @@ class WindowTreeHostMojo : public aura::WindowTreeHost,
virtual void OnEvent(EventPtr event,
const mojo::Callback<void()>& callback) OVERRIDE;
- static ContextFactoryMojo* context_factory_;
+ static ContextFactoryImpl* context_factory_;
NativeViewportPtr native_viewport_;
base::Callback<void()> compositor_created_callback_;
gfx::Rect bounds_;
- DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMojo);
+ DISALLOW_COPY_AND_ASSIGN(WindowTreeHostImpl);
};
+} // namespace service
+} // namespace view_manager
} // namespace mojo
#endif // MOJO_AURA_WINDOW_TREE_HOST_MOJO_H_
« no previous file with comments | « mojo/services/view_manager/root_view_manager.cc ('k') | mojo/services/view_manager/window_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698