Index: mojo/services/view_manager/server_view.h |
diff --git a/mojo/services/view_manager/server_view.h b/mojo/services/view_manager/server_view.h |
index 88de03ccb62ca29148919e6315badaf383cbee8f..d5122f1760344e7731b685944631d7ba99650a9e 100644 |
--- a/mojo/services/view_manager/server_view.h |
+++ b/mojo/services/view_manager/server_view.h |
@@ -60,6 +60,9 @@ class ServerView { |
bool visible() const { return visible_; } |
void SetVisible(bool value); |
+ float opacity() const { return opacity_; } |
+ void SetOpacity(float value); |
+ |
const std::map<std::string, std::vector<uint8_t>>& properties() const { |
return properties_; |
} |
@@ -85,6 +88,8 @@ class ServerView { |
bool visible_; |
gfx::Rect bounds_; |
cc::SurfaceId surface_id_; |
+ float opacity_; |
+ |
std::map<std::string, std::vector<uint8_t>> properties_; |
DISALLOW_COPY_AND_ASSIGN(ServerView); |