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

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: 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 e805387efc89249c3c92f7cb584522ec1b39fe6b..cc9789174cf9892a8d0ea6608165890a56400b50 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"
@@ -23,6 +24,7 @@ class Rect;
}
namespace mojo {
+
sky 2014/09/03 22:45:28 nit: nuke.
jamesr 2014/09/03 23:32:47 Done.
namespace service {
class AccessPolicy;
@@ -159,10 +161,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