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

Side by Side Diff: chrome/browser/browser_window.h

Issue 115740: Move download shelf from per-tab to per-window (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 9
10 class Browser; 10 class Browser;
11 class BrowserList; 11 class BrowserList;
12 class BrowserWindowTesting; 12 class BrowserWindowTesting;
13 class DownloadItem;
14 class DownloadShelf;
13 class FindBar; 15 class FindBar;
14 class GURL; 16 class GURL;
15 class LocationBar; 17 class LocationBar;
16 class HtmlDialogUIDelegate; 18 class HtmlDialogUIDelegate;
17 class Profile; 19 class Profile;
18 class StatusBubble; 20 class StatusBubble;
19 class TabContents; 21 class TabContents;
20 22
21 namespace gfx { 23 namespace gfx {
22 class Point; 24 class Point;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Shows the About Chrome dialog box. 138 // Shows the About Chrome dialog box.
137 virtual void ShowAboutChromeDialog() = 0; 139 virtual void ShowAboutChromeDialog() = 0;
138 140
139 // Shows the Bookmark Manager window. 141 // Shows the Bookmark Manager window.
140 virtual void ShowBookmarkManager() = 0; 142 virtual void ShowBookmarkManager() = 0;
141 143
142 // Shows the Bookmark bubble. |url| is the URL being bookmarked, 144 // Shows the Bookmark bubble. |url| is the URL being bookmarked,
143 // |already_bookmarked| is true if the url is already bookmarked. 145 // |already_bookmarked| is true if the url is already bookmarked.
144 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; 146 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0;
145 147
148 // Whether or not the shelf view is visible.
149 virtual bool IsDownloadShelfVisible() const = 0;
150
151 // Returns the DownloadShelf.
152 virtual DownloadShelf* GetDownloadShelf() = 0;
153
146 // Shows the Report a Bug dialog box. 154 // Shows the Report a Bug dialog box.
147 virtual void ShowReportBugDialog() = 0; 155 virtual void ShowReportBugDialog() = 0;
148 156
149 // Shows the Clear Browsing Data dialog box. 157 // Shows the Clear Browsing Data dialog box.
150 virtual void ShowClearBrowsingDataDialog() = 0; 158 virtual void ShowClearBrowsingDataDialog() = 0;
151 159
152 // Shows the Import Bookmarks & Settings dialog box. 160 // Shows the Import Bookmarks & Settings dialog box.
153 virtual void ShowImportDialog() = 0; 161 virtual void ShowImportDialog() = 0;
154 162
155 // Shows the Search Engines dialog box. 163 // Shows the Search Engines dialog box.
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 #if defined(OS_WIN) 216 #if defined(OS_WIN)
209 // Returns the BookmarkBarView. 217 // Returns the BookmarkBarView.
210 virtual BookmarkBarView* GetBookmarkBarView() const = 0; 218 virtual BookmarkBarView* GetBookmarkBarView() const = 0;
211 219
212 // Returns the LocationBarView. 220 // Returns the LocationBarView.
213 virtual LocationBarView* GetLocationBarView() const = 0; 221 virtual LocationBarView* GetLocationBarView() const = 0;
214 #endif 222 #endif
215 }; 223 };
216 224
217 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 225 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698