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

Unified Diff: mojo/services/public/cpp/view_manager/view.h

Issue 555953007: Fixes for surfaces bindings exposed by wm_flow app (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/public/cpp/view_manager/view.h
diff --git a/mojo/services/public/cpp/view_manager/view.h b/mojo/services/public/cpp/view_manager/view.h
index bce18302553c003a89b99bfd045692122be1a00c..88684044058a7565b7d72057c6db94089069cbd1 100644
--- a/mojo/services/public/cpp/view_manager/view.h
+++ b/mojo/services/public/cpp/view_manager/view.h
@@ -21,6 +21,7 @@ class SkBitmap;
namespace mojo {
+class BitmapUploader;
class ServiceProviderImpl;
class View;
class ViewManager;
@@ -104,6 +105,7 @@ class View {
// Returns true if the order actually changed.
bool LocalReorder(View* relative, OrderDirection direction);
void LocalSetBounds(const gfx::Rect& old_bounds, const gfx::Rect& new_bounds);
+ void LocalCreateBitmapUploader();
ViewManager* manager_;
Id id_;
@@ -113,6 +115,9 @@ class View {
ObserverList<ViewObserver> observers_;
gfx::Rect bounds_;
+ // TODO(jamesr): Temporary, remove when all clients are using surfaces
+ // directly.
+ scoped_ptr<BitmapUploader> bitmap_uploader_;
DISALLOW_COPY_AND_ASSIGN(View);
};

Powered by Google App Engine
This is Rietveld 408576698