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

Unified Diff: mojo/services/view_manager/server_view.h

Issue 720883003: Adds a CloneAndAnimate function to WindowManagerInternalClient (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Add GetView(ClonedViewId) coverage Created 6 years, 1 month 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
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/server_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « mojo/services/view_manager/ids.h ('k') | mojo/services/view_manager/server_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698