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

Unified Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 1704793002: Remove kDisableDownloadNotification and stop compiling shelf code on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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/frame/browser_view.h
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index ccc436a1103d128b24f7b259dca84f615a1fc06a..a55e2e32098e65543189d2ebe9b381abeba58017 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -53,7 +53,6 @@ class BookmarkBarView;
class Browser;
class BrowserViewLayout;
class ContentsLayoutManager;
-class DownloadShelfView;
class ExclusiveAccessBubbleViews;
class InfoBarContainerView;
class LocationBarView;
@@ -67,6 +66,10 @@ class WebContentsCloseHandler;
class JumpList;
#endif
+#if !defined(OS_CHROMEOS)
+class DownloadShelfView;
+#endif
+
namespace extensions {
class ActiveTabPermissionGranter;
class Command;
@@ -647,8 +650,12 @@ class BrowserView : public BrowserWindow,
// NativeView.
View* find_bar_host_view_;
+#if defined(OS_CHROMEOS)
+ scoped_ptr<views::View> download_shelf_;
+#else
// The download shelf view (view at the bottom of the page).
scoped_ptr<DownloadShelfView> download_shelf_;
+#endif
// The InfoBarContainerView that contains InfoBars for the current tab.
InfoBarContainerView* infobar_container_;

Powered by Google App Engine
This is Rietveld 408576698