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

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

Issue 7015051: Re-land: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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/ui/views/task_manager_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/theme_install_bubble_view.cc
===================================================================
--- chrome/browser/ui/views/theme_install_bubble_view.cc (revision 85284)
+++ chrome/browser/ui/views/theme_install_bubble_view.cc (working copy)
@@ -70,14 +70,14 @@
NotificationType::EXTENSION_WILL_SHOW_CONFIRM_DIALOG,
NotificationService::AllSources());
- popup_ = views::Widget::CreateWidget();
- popup_->SetOpacity(0xCC);
+ popup_ = new views::Widget;
views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP);
params.transparent = true;
params.accept_events = false;
params.parent = tab_contents->GetNativeView();
popup_->Init(params);
popup_->SetContentsView(this);
+ popup_->SetOpacity(0xCC);
Reposition();
popup_->Show();
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698