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

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

Issue 8851007: WIP / Do not commit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/ui/browser_dialogs.h ('k') | chrome/browser/ui/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" 9 #include "chrome/browser/ui/bookmarks/bookmark_bar.h"
10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h" 10 #include "chrome/browser/ui/fullscreen_exit_bubble_type.h"
11 #include "chrome/common/content_settings_types.h" 11 #include "chrome/common/content_settings_types.h"
12 #include "content/browser/tab_contents/navigation_entry.h" 12 #include "content/browser/tab_contents/navigation_entry.h"
13 #include "ui/gfx/native_widget_types.h" 13 #include "ui/gfx/native_widget_types.h"
14 #include "webkit/glue/window_open_disposition.h" 14 #include "webkit/glue/window_open_disposition.h"
15 15
16 class Browser; 16 class Browser;
17 class BrowserWindowTesting; 17 class BrowserWindowTesting;
18 class DownloadShelf; 18 class DownloadShelf;
19 class FindBar; 19 class FindBar;
20 class GURL; 20 class GURL;
21 class LocationBar; 21 class LocationBar;
22 class Profile; 22 class Profile;
23 class StatusBubble; 23 class StatusBubble;
24 class TabContents; 24 class TabContents;
25 class TabContentsWrapper; 25 class TabContentsWrapper;
26 class TabModalDialogDelegate;
26 class TemplateURL; 27 class TemplateURL;
27 #if !defined(OS_MACOSX) 28 #if !defined(OS_MACOSX)
28 class ToolbarView; 29 class ToolbarView;
29 #endif 30 #endif
30 struct NativeWebKeyboardEvent; 31 struct NativeWebKeyboardEvent;
31 32
32 namespace gfx { 33 namespace gfx {
33 class Rect; 34 class Rect;
34 class Size; 35 class Size;
35 } 36 }
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // Shows the Bookmark bubble. |url| is the URL being bookmarked, 233 // Shows the Bookmark bubble. |url| is the URL being bookmarked,
233 // |already_bookmarked| is true if the url is already bookmarked. 234 // |already_bookmarked| is true if the url is already bookmarked.
234 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0; 235 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) = 0;
235 236
236 // Whether or not the shelf view is visible. 237 // Whether or not the shelf view is visible.
237 virtual bool IsDownloadShelfVisible() const = 0; 238 virtual bool IsDownloadShelfVisible() const = 0;
238 239
239 // Returns the DownloadShelf. 240 // Returns the DownloadShelf.
240 virtual DownloadShelf* GetDownloadShelf() = 0; 241 virtual DownloadShelf* GetDownloadShelf() = 0;
241 242
242 // Shows the repost form confirmation dialog box. 243 // Shows a tab-modal dialog.
243 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents) = 0; 244 virtual void ShowTabModalDialog(TabModalDialogDelegate* delegate,
245 TabContents* tab_contents) = 0;
244 246
245 // Shows the collected cookies dialog box. 247 // Shows the collected cookies dialog box.
246 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0; 248 virtual void ShowCollectedCookiesDialog(TabContentsWrapper* tab_contents) = 0;
247 249
248 // Shows the confirmation dialog box warning that the browser is closing with 250 // Shows the confirmation dialog box warning that the browser is closing with
249 // in-progress downloads. 251 // in-progress downloads.
250 // This method should call Browser::InProgressDownloadResponse once the user 252 // This method should call Browser::InProgressDownloadResponse once the user
251 // has confirmed. 253 // has confirmed.
252 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; 254 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0;
253 255
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 396
395 // Returns the ToolbarView. 397 // Returns the ToolbarView.
396 virtual ToolbarView* GetToolbarView() const = 0; 398 virtual ToolbarView* GetToolbarView() const = 0;
397 #endif 399 #endif
398 400
399 protected: 401 protected:
400 virtual ~BrowserWindowTesting() {} 402 virtual ~BrowserWindowTesting() {}
401 }; 403 };
402 404
403 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 405 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_dialogs.h ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698