Index: mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h |
index 38ed6de9e99d4eee375da44fc911f9076f1033d4..ac92ea2072d678d01287cf81b70937209cbae714 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h |
+++ b/mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.h |
@@ -20,6 +20,7 @@ class SkBitmap; |
namespace mojo { |
class ApplicationConnection; |
+class BitmapUploader; |
class ViewManager; |
class ViewManagerDelegate; |
class ViewManagerTransaction; |
@@ -53,6 +54,9 @@ class ViewManagerClientImpl : public ViewManager, |
bool OwnsView(Id id) const; |
void SetBounds(Id view_id, const gfx::Rect& bounds); |
+ void SetSurfaceId(Id view_id, SurfaceIdPtr surface_id); |
+ // TODO(jamesr): Remove once all callers switch from SetContents to |
+ // SetSurfaceId. |
void SetViewContents(Id view_id, const SkBitmap& contents); |
void SetFocus(Id view_id); |
void SetVisible(Id view_id, bool visible); |
@@ -150,6 +154,11 @@ class ViewManagerClientImpl : public ViewManager, |
WindowManagerServicePtr window_manager_; |
+ // TODO(jamesr): Remove once all callers switch from SetContents to |
+ // SetSurfaceId. |
+ ApplicationConnection* app_connection_; |
+ scoped_ptr<BitmapUploader> bitmap_uploader_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ViewManagerClientImpl); |
}; |