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

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

Issue 2854060: Fix comment that refers to non-existent ReloadAll function (it got renamed... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 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
« no previous file with comments | « no previous file | chrome/browser/tab_contents/navigation_controller.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_H_ 5 #ifndef CHROME_BROWSER_BROWSER_H_
6 #define CHROME_BROWSER_BROWSER_H_ 6 #define CHROME_BROWSER_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 // TODO(beng): figure out if we need this now that the frame itself closes 885 // TODO(beng): figure out if we need this now that the frame itself closes
886 // after a return to the message loop. 886 // after a return to the message loop.
887 void CloseFrame(); 887 void CloseFrame();
888 888
889 void TabDetachedAtImpl(TabContents* contents, int index, DetachType type); 889 void TabDetachedAtImpl(TabContents* contents, int index, DetachType type);
890 890
891 // Create a preference dictionary for the provided application name. This is 891 // Create a preference dictionary for the provided application name. This is
892 // done only once per application name / per session. 892 // done only once per application name / per session.
893 static void RegisterAppPrefs(const std::wstring& app_name); 893 static void RegisterAppPrefs(const std::wstring& app_name);
894 894
895 // Shared code between Reload() and ReloadAll(). 895 // Shared code between Reload() and ReloadIgnoringCache().
896 void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache); 896 void ReloadInternal(WindowOpenDisposition disposition, bool ignore_cache);
897 897
898 // Return true if the window dispositions means opening a new tab. 898 // Return true if the window dispositions means opening a new tab.
899 bool ShouldOpenNewTabForWindowDisposition(WindowOpenDisposition disposition); 899 bool ShouldOpenNewTabForWindowDisposition(WindowOpenDisposition disposition);
900 900
901 // Depending on the disposition, return the current tab or a clone of the 901 // Depending on the disposition, return the current tab or a clone of the
902 // current tab. 902 // current tab.
903 TabContents* GetOrCloneTabForDisposition(WindowOpenDisposition disposition); 903 TabContents* GetOrCloneTabForDisposition(WindowOpenDisposition disposition);
904 904
905 // Sets the insertion policy of the tabstrip based on whether vertical tabs 905 // Sets the insertion policy of the tabstrip based on whether vertical tabs
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 mutable BooleanPrefMember use_vertical_tabs_; 1062 mutable BooleanPrefMember use_vertical_tabs_;
1063 1063
1064 // The profile's tab restore service. The service is owned by the profile, 1064 // The profile's tab restore service. The service is owned by the profile,
1065 // and we install ourselves as an observer. 1065 // and we install ourselves as an observer.
1066 TabRestoreService* tab_restore_service_; 1066 TabRestoreService* tab_restore_service_;
1067 1067
1068 DISALLOW_COPY_AND_ASSIGN(Browser); 1068 DISALLOW_COPY_AND_ASSIGN(Browser);
1069 }; 1069 };
1070 1070
1071 #endif // CHROME_BROWSER_BROWSER_H_ 1071 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/navigation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698