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

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

Issue 303163005: Embedding demo in View manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 c4e61b8c43b9d318402cc1f6e030b76b1f0c2037..c6724d48909fb65316fce6b88b4ada65c7a7baf9 100644
--- a/mojo/services/public/cpp/view_manager/view.h
+++ b/mojo/services/public/cpp/view_manager/view.h
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "base/observer_list.h"
#include "mojo/services/public/cpp/view_manager/view_manager_types.h"
+#include "third_party/skia/include/core/SkColor.h"
class SkBitmap;
@@ -31,7 +32,9 @@ class View {
void AddObserver(ViewObserver* observer);
void RemoveObserver(ViewObserver* observer);
+ // TODO(beng): temporary only.
void SetContents(const SkBitmap& contents);
+ void SetColor(SkColor color);
private:
friend class ViewPrivate;

Powered by Google App Engine
This is Rietveld 408576698