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

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.cc

Issue 147593002: Implement new dangerous download reporting dialog for UNCOMMON_DOWNLOAD, in Views (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 6 years, 11 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
Index: chrome/browser/ui/views/download/download_shelf_view.cc
diff --git a/chrome/browser/ui/views/download/download_shelf_view.cc b/chrome/browser/ui/views/download/download_shelf_view.cc
index 2be559bf5be777c72f4bb051e277ee422ab059bb..66d58bc60802b592e2f59e5dd266b8d32e11a041 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.cc
+++ b/chrome/browser/ui/views/download/download_shelf_view.cc
@@ -165,6 +165,10 @@ content::PageNavigator* DownloadShelfView::GetNavigator() {
return browser_;
}
+BrowserView* DownloadShelfView::GetParentWindowView() {
+ return parent_;
+}
+
gfx::Size DownloadShelfView::GetPreferredSize() {
gfx::Size prefsize(kRightPadding + kLeftPadding + kCloseAndLinkPadding, 0);
AdjustSize(close_button_, &prefsize);

Powered by Google App Engine
This is Rietveld 408576698