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

Side by Side Diff: chrome/browser/gtk/browser_window_gtk.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/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/gtk/browser_window_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual void ShowAboutChromeDialog(); 71 virtual void ShowAboutChromeDialog();
72 virtual void ShowBookmarkManager(); 72 virtual void ShowBookmarkManager();
73 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked); 73 virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
74 virtual void ShowReportBugDialog(); 74 virtual void ShowReportBugDialog();
75 virtual void ShowClearBrowsingDataDialog(); 75 virtual void ShowClearBrowsingDataDialog();
76 virtual void ShowImportDialog(); 76 virtual void ShowImportDialog();
77 virtual void ShowSearchEnginesDialog(); 77 virtual void ShowSearchEnginesDialog();
78 virtual void ShowPasswordManager(); 78 virtual void ShowPasswordManager();
79 virtual void ShowSelectProfileDialog(); 79 virtual void ShowSelectProfileDialog();
80 virtual void ShowNewProfileDialog(); 80 virtual void ShowNewProfileDialog();
81 virtual void ConfirmBrowserCloseWithPendingDownloads();
81 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 82 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
82 void* parent_window); 83 void* parent_window);
83 84
84 // Overridden from NotificationObserver: 85 // Overridden from NotificationObserver:
85 virtual void Observe(NotificationType type, 86 virtual void Observe(NotificationType type,
86 const NotificationSource& source, 87 const NotificationSource& source,
87 const NotificationDetails& details); 88 const NotificationDetails& details);
88 89
89 // Overridden from TabStripModelObserver: 90 // Overridden from TabStripModelObserver:
90 virtual void TabDetachedAt(TabContents* contents, int index); 91 virtual void TabDetachedAt(TabContents* contents, int index);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // Experiment with using views for gtk. 181 // Experiment with using views for gtk.
181 scoped_ptr<views::WidgetGtk> experimental_widget_; 182 scoped_ptr<views::WidgetGtk> experimental_widget_;
182 183
183 // The timer used to update frames for the Loading Animation. 184 // The timer used to update frames for the Loading Animation.
184 base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_; 185 base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_;
185 186
186 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 187 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
187 }; 188 };
188 189
189 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 190 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698