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

Unified Diff: ui/views/mus/surface_binding.cc

Issue 1679573002: Move shell interfaces into the shell.mojom namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@delegate
Patch Set: . Created 4 years, 10 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 | « ui/views/mus/surface_binding.h ('k') | ui/views/mus/surface_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/surface_binding.cc
diff --git a/ui/views/mus/surface_binding.cc b/ui/views/mus/surface_binding.cc
index f3a6046621ba1a5c7eb248d625f6168aaa2cc127..e31129c53d88a570e1aeacd1725126804615161c 100644
--- a/ui/views/mus/surface_binding.cc
+++ b/ui/views/mus/surface_binding.cc
@@ -46,7 +46,7 @@ void OnGotRemoteIDs(uint32_t remote_id, uint32_t content_handler_id) {}
class SurfaceBinding::PerConnectionState
: public base::RefCounted<PerConnectionState> {
public:
- static PerConnectionState* Get(mojo::Shell* shell,
+ static PerConnectionState* Get(mojo::shell::mojom::Shell* shell,
mus::WindowTreeConnection* connection);
scoped_ptr<cc::OutputSurface> CreateOutputSurface(
@@ -59,7 +59,8 @@ class SurfaceBinding::PerConnectionState
friend class base::RefCounted<PerConnectionState>;
- PerConnectionState(mojo::Shell* shell, mus::WindowTreeConnection* connection);
+ PerConnectionState(mojo::shell::mojom::Shell* shell,
+ mus::WindowTreeConnection* connection);
~PerConnectionState();
void Init();
@@ -67,7 +68,7 @@ class SurfaceBinding::PerConnectionState
static base::LazyInstance<
base::ThreadLocalPointer<ConnectionToStateMap>>::Leaky window_states;
- mojo::Shell* shell_;
+ mojo::shell::mojom::Shell* shell_;
mus::WindowTreeConnection* connection_;
// Set of state needed to create an OutputSurface.
@@ -83,7 +84,7 @@ base::LazyInstance<base::ThreadLocalPointer<
// static
SurfaceBinding::PerConnectionState* SurfaceBinding::PerConnectionState::Get(
- mojo::Shell* shell,
+ mojo::shell::mojom::Shell* shell,
mus::WindowTreeConnection* connection) {
ConnectionToStateMap* window_map = window_states.Pointer()->Get();
if (!window_map) {
@@ -113,7 +114,7 @@ SurfaceBinding::PerConnectionState::CreateOutputSurface(
}
SurfaceBinding::PerConnectionState::PerConnectionState(
- mojo::Shell* shell,
+ mojo::shell::mojom::Shell* shell,
mus::WindowTreeConnection* connection)
: shell_(shell), connection_(connection) {}
@@ -141,7 +142,7 @@ void SurfaceBinding::PerConnectionState::Init() {
// SurfaceBinding --------------------------------------------------------------
-SurfaceBinding::SurfaceBinding(mojo::Shell* shell,
+SurfaceBinding::SurfaceBinding(mojo::shell::mojom::Shell* shell,
mus::Window* window,
mus::mojom::SurfaceType surface_type)
: window_(window),
« no previous file with comments | « ui/views/mus/surface_binding.h ('k') | ui/views/mus/surface_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698