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

Unified Diff: chrome/browser/ui/views/bubble/bubble.cc

Issue 8351042: Gets disable inactive frame rendering to work correctly for aura. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks 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 | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | views/widget/native_widget_aura.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/bubble/bubble.cc
diff --git a/chrome/browser/ui/views/bubble/bubble.cc b/chrome/browser/ui/views/bubble/bubble.cc
index c72651e8898d81d94a822f42485510bc756142e6..f972eb06ae2e86c8a54464900729beb7132ad69f 100644
--- a/chrome/browser/ui/views/bubble/bubble.cc
+++ b/chrome/browser/ui/views/bubble/bubble.cc
@@ -196,11 +196,9 @@ void Bubble::InitBubble(views::Widget* parent,
// Create the main window.
#if defined(USE_AURA)
- // TODO(beng):
- NOTIMPLEMENTED();
- // NOTE: This Widget initialization here is mostly to paper over a crash.
- // This will soon be not necessary anymore with alicet/msw's work on new
- // bubbles infrastructure.
+ views::Widget* parent_window = parent->GetTopLevelWidget();
+ if (parent_window)
+ parent_window->DisableInactiveRendering();
views::Widget::InitParams params;
params.transparent = true;
params.parent_widget = parent;
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | views/widget/native_widget_aura.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698