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

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

Issue 10736008: Added reload drop-down menu for the Reload button on Linux when in the DevTools mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 // Gets the Favicon of the page in the selected tab. 295 // Gets the Favicon of the page in the selected tab.
296 SkBitmap GetCurrentPageIcon() const; 296 SkBitmap GetCurrentPageIcon() const;
297 297
298 // Gets the title of the window based on the selected tab's title. 298 // Gets the title of the window based on the selected tab's title.
299 string16 GetWindowTitleForCurrentTab() const; 299 string16 GetWindowTitleForCurrentTab() const;
300 300
301 // Prepares a title string for display (removes embedded newlines, etc). 301 // Prepares a title string for display (removes embedded newlines, etc).
302 static void FormatTitleForDisplay(string16* title); 302 static void FormatTitleForDisplay(string16* title);
303 303
304 // Indicates if debugger is attached for the current tab.
305 bool IsDebuggerAttachedForCurrentTab() const;
pfeldman 2012/07/10 16:44:56 IsDebuggerAttachedToCurrentTab ?
306
304 // OnBeforeUnload handling ////////////////////////////////////////////////// 307 // OnBeforeUnload handling //////////////////////////////////////////////////
305 308
306 // Gives beforeunload handlers the chance to cancel the close. 309 // Gives beforeunload handlers the chance to cancel the close.
307 bool ShouldCloseWindow(); 310 bool ShouldCloseWindow();
308 311
309 bool IsAttemptingToCloseBrowser() const { 312 bool IsAttemptingToCloseBrowser() const {
310 return is_attempting_to_close_browser_; 313 return is_attempting_to_close_browser_;
311 } 314 }
312 315
313 // Invoked when the window containing us is closing. Performs the necessary 316 // Invoked when the window containing us is closing. Performs the necessary
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 bool window_has_shown_; 1025 bool window_has_shown_;
1023 1026
1024 // Currently open color chooser. Non-NULL after OpenColorChooser is called and 1027 // Currently open color chooser. Non-NULL after OpenColorChooser is called and
1025 // before DidEndColorChooser is called. 1028 // before DidEndColorChooser is called.
1026 scoped_ptr<content::ColorChooser> color_chooser_; 1029 scoped_ptr<content::ColorChooser> color_chooser_;
1027 1030
1028 DISALLOW_COPY_AND_ASSIGN(Browser); 1031 DISALLOW_COPY_AND_ASSIGN(Browser);
1029 }; 1032 };
1030 1033
1031 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1034 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698