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

Unified Diff: views/widget/native_widget_aura.cc

Issue 8416053: Gets Bubble to work on aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « chrome/browser/ui/views/bubble/bubble.cc ('k') | 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 6b100b115ac56e21fd22e6b9ce8efc1dd489216b..9724e5a9ae4008a241e6a6c208adcee1e493f9a8 100644
--- a/views/widget/native_widget_aura.cc
+++ b/views/widget/native_widget_aura.cc
@@ -388,6 +388,7 @@ bool NativeWidgetAura::IsFullscreen() const {
void NativeWidgetAura::SetOpacity(unsigned char opacity) {
window_->layer()->SetOpacity(opacity / 255.0);
+ window_->layer()->ScheduleDraw();
Ben Goodger (Google) 2011/10/31 18:21:29 Shouldn't Layer::SetOpacity do this implicitly?
sky 2011/10/31 20:32:31 Good idea.
}
void NativeWidgetAura::SetUseDragFrame(bool use_drag_frame) {
« no previous file with comments | « chrome/browser/ui/views/bubble/bubble.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698