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

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

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.h
diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
index f5362679f1e832bfb94fdb59a7f57e91d5c9aead..49d771d2e0c8c733a661b00dcfe3318fc6991bb6 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -10,6 +10,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/browser/download/download_shelf.h"
+#include "chrome/browser/ui/views/frame/browser_view.h"
#include "ui/gfx/animation/animation_delegate.h"
#include "ui/views/accessible_pane_view.h"
#include "ui/views/controls/button/button.h"
@@ -17,7 +18,6 @@
#include "ui/views/mouse_watcher.h"
class Browser;
-class BrowserView;
class DownloadItemView;
namespace content {
@@ -56,6 +56,9 @@ class DownloadShelfView : public views::AccessiblePaneView,
// i.e. the |browser_|.
content::PageNavigator* GetNavigator();
Peter Kasting 2014/02/04 21:56:33 Nit: While here: There's no need for this function
felt 2014/02/04 23:37:22 I'll send a follow-up CL for this.
+ // Returns the parent_.
+ BrowserView* GetParentWindowView();
Peter Kasting 2014/02/04 21:56:33 Nit: This function should be inlined and named lik
felt 2014/02/04 23:37:22 Done.
+
// Implementation of View.
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void Layout() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698