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

Unified Diff: services/native_viewport/native_viewport_impl.h

Issue 826423008: Use local ids for Surfaces APIs that can only apply to local surfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: services/native_viewport/native_viewport_impl.h
diff --git a/services/native_viewport/native_viewport_impl.h b/services/native_viewport/native_viewport_impl.h
index bbcfdd42ac27dc02347ccdfa61771e3f4a41f06f..da11d64b55ecd7d1af53443d81b9ead79203fc79 100644
--- a/services/native_viewport/native_viewport_impl.h
+++ b/services/native_viewport/native_viewport_impl.h
@@ -10,7 +10,7 @@
#include "cc/surfaces/surface_id.h"
#include "mojo/services/gpu/public/interfaces/gpu.mojom.h"
#include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.h"
-#include "mojo/services/surfaces/public/interfaces/surfaces_service.mojom.h"
+#include "mojo/services/surfaces/public/interfaces/surfaces.mojom.h"
#include "services/native_viewport/platform_viewport.h"
#include "ui/gfx/geometry/rect.h"
@@ -59,7 +59,7 @@ class NativeViewportImpl : public mojo::InterfaceImpl<mojo::NativeViewport>,
uint64_t widget_id_;
mojo::ViewportMetricsPtr metrics_;
mojo::GpuPtr gpu_service_;
- mojo::SurfacesServicePtr surfaces_service_;
+ mojo::SurfacePtr surface_;
cc::SurfaceId child_surface_id_;
bool waiting_for_event_ack_;
mojo::Callback<void(uint64_t)> create_callback_;
« no previous file with comments | « services/fake_surfaces/fake_surfaces_service_application.cc ('k') | services/native_viewport/native_viewport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698