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

Unified Diff: views/widget/native_widget_aura.cc

Issue 8383022: [Aura] Turns on Window opacity support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: simplify per sky's comments in #1 Created 9 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_aura.cc
diff --git a/views/widget/native_widget_aura.cc b/views/widget/native_widget_aura.cc
index 4388d64914618a72b1f1c49b22489fb50d35f785..b1adcea43c75e912dd48ab8f94ef9e258be32d8b 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -396,7 +396,7 @@ bool NativeWidgetAura::IsFullscreen() const {
}
void NativeWidgetAura::SetOpacity(unsigned char opacity) {
- NOTIMPLEMENTED();
+ window_->layer()->SetOpacity(opacity / 255.0);
}
void NativeWidgetAura::SetUseDragFrame(bool use_drag_frame) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698