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

Unified Diff: ui/compositor/layer.h

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove extra define guard Created 8 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
« no previous file with comments | « chrome/browser/resources/options2/browser_options.js ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index a0a6cc1a5535c57f851db8fb4eeacca7583ec26a..eba9c1ab8b7d7baa67b1418c742853525ab39067 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -134,6 +134,10 @@ class COMPOSITOR_EXPORT Layer :
int background_blur() const { return background_blur_radius_; }
void SetBackgroundBlur(int blur_radius);
+ // Invert the layer.
+ bool inverted() const { return inverted_; }
+ void SetInverted(bool inverted);
+
// Return the target opacity if animator is running, or the current opacity
// otherwise.
float GetTargetOpacity() const;
@@ -288,6 +292,7 @@ class COMPOSITOR_EXPORT Layer :
float opacity_;
int background_blur_radius_;
+ bool inverted_;
std::string name_;
« no previous file with comments | « chrome/browser/resources/options2/browser_options.js ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698