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

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

Issue 534843002: Convert view manager to surfaces with uploading shim in client lib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove overzealous shutdown check in cc/surfaces, add NON_EXPORTED_BASE for windows build, saturate… Created 6 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
Index: mojo/services/view_manager/view_manager_service_impl.h
diff --git a/mojo/services/view_manager/view_manager_service_impl.h b/mojo/services/view_manager/view_manager_service_impl.h
index 3e2952809167fc3ff9807a3f330aaf965c15b851..f248390b6ed6ca89cf3a99a94d871a78fee4a48f 100644
--- a/mojo/services/view_manager/view_manager_service_impl.h
+++ b/mojo/services/view_manager/view_manager_service_impl.h
@@ -13,6 +13,7 @@
#include "base/compiler_specific.h"
#include "base/containers/hash_tables.h"
#include "base/memory/scoped_ptr.h"
+#include "mojo/services/public/interfaces/surfaces/surface_id.mojom.h"
#include "mojo/services/public/interfaces/view_manager/view_manager.mojom.h"
#include "mojo/services/view_manager/access_policy_delegate.h"
#include "mojo/services/view_manager/ids.h"
@@ -164,10 +165,9 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerServiceImpl
virtual void GetViewTree(
Id view_id,
const Callback<void(Array<ViewDataPtr>)>& callback) OVERRIDE;
- virtual void SetViewContents(Id view_id,
- ScopedSharedBufferHandle buffer,
- uint32_t buffer_size,
- const Callback<void(bool)>& callback) OVERRIDE;
+ virtual void SetViewSurfaceId(Id view_id,
+ SurfaceIdPtr surface_id,
+ const Callback<void(bool)>& callback) OVERRIDE;
virtual void SetViewBounds(Id view_id,
RectPtr bounds,
const Callback<void(bool)>& callback) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698