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

Side by Side Diff: chrome/browser/views/frame/browser_view.h

Issue 62131: Ask for user confirmation when closing a browser with in-progress downloads (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/gtk/browser_window_gtk.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h"
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 virtual void ShowAboutChromeDialog(); 192 virtual void ShowAboutChromeDialog();
193 virtual void ShowBookmarkManager(); 193 virtual void ShowBookmarkManager();
194 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 194 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
195 virtual void ShowReportBugDialog(); 195 virtual void ShowReportBugDialog();
196 virtual void ShowClearBrowsingDataDialog(); 196 virtual void ShowClearBrowsingDataDialog();
197 virtual void ShowImportDialog(); 197 virtual void ShowImportDialog();
198 virtual void ShowSearchEnginesDialog(); 198 virtual void ShowSearchEnginesDialog();
199 virtual void ShowPasswordManager(); 199 virtual void ShowPasswordManager();
200 virtual void ShowSelectProfileDialog(); 200 virtual void ShowSelectProfileDialog();
201 virtual void ShowNewProfileDialog(); 201 virtual void ShowNewProfileDialog();
202 virtual void ConfirmBrowserCloseWithPendingDownloads();
202 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 203 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
203 void* parent_window); 204 void* parent_window);
204 205
205 // Overridden from BrowserWindowTesting: 206 // Overridden from BrowserWindowTesting:
206 virtual BookmarkBarView* GetBookmarkBarView() const; 207 virtual BookmarkBarView* GetBookmarkBarView() const;
207 virtual LocationBarView* GetLocationBarView() const; 208 virtual LocationBarView* GetLocationBarView() const;
208 209
209 // Overridden from NotificationObserver: 210 // Overridden from NotificationObserver:
210 virtual void Observe(NotificationType type, 211 virtual void Observe(NotificationType type,
211 const NotificationSource& source, 212 const NotificationSource& source,
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 // P13N stuff 428 // P13N stuff
428 #ifdef CHROME_PERSONALIZATION 429 #ifdef CHROME_PERSONALIZATION
429 FramePersonalization personalization_; 430 FramePersonalization personalization_;
430 bool personalization_enabled_; 431 bool personalization_enabled_;
431 #endif 432 #endif
432 433
433 DISALLOW_COPY_AND_ASSIGN(BrowserView); 434 DISALLOW_COPY_AND_ASSIGN(BrowserView);
434 }; 435 };
435 436
436 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 437 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/browser_window_gtk.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698