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

Unified Diff: chrome/browser/ui/views/download/download_started_animation_win.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/dom_view_browsertest.cc ('k') | chrome/browser/ui/views/dropdown_bar_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/download/download_started_animation_win.cc
===================================================================
--- chrome/browser/ui/views/download/download_started_animation_win.cc (revision 85284)
+++ chrome/browser/ui/views/download/download_started_animation_win.cc (working copy)
@@ -101,14 +101,14 @@
SetImage(kDownloadImage);
- popup_ = views::Widget::CreateWidget();
- popup_->SetOpacity(0x00);
+ 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_->SetOpacity(0x00);
popup_->SetContentsView(this);
Reposition();
popup_->Show();
« no previous file with comments | « chrome/browser/ui/views/dom_view_browsertest.cc ('k') | chrome/browser/ui/views/dropdown_bar_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698