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

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

Issue 6475018: Remove declaration for function removed more than half a year ago in r56752. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | no next file » | 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_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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 931
932 // In-progress download termination handling ///////////////////////////////// 932 // In-progress download termination handling /////////////////////////////////
933 933
934 // Called when the window is closing to check if potential in-progress 934 // Called when the window is closing to check if potential in-progress
935 // downloads should prevent it from closing. 935 // downloads should prevent it from closing.
936 // Returns true if the window can close, false otherwise. 936 // Returns true if the window can close, false otherwise.
937 bool CanCloseWithInProgressDownloads(); 937 bool CanCloseWithInProgressDownloads();
938 938
939 // Assorted utility functions /////////////////////////////////////////////// 939 // Assorted utility functions ///////////////////////////////////////////////
940 940
941 // Checks whether |source| is about to navigate across extension extents, and
942 // if so, navigates in the correct window. For example if this is a normal
943 // browser and we're about to navigate into an extent, this method will
944 // navigate the app's window instead. If we're in an app window and
945 // navigating out of the app, this method will find and navigate a normal
946 // browser instead.
947 //
948 // Returns true if the navigation was handled, eg, it was opened in some other
949 // browser.
950 //
951 // Returns false if it was not handled. In this case, the method may also
952 // modify |disposition| to a more suitable value.
953 bool HandleCrossAppNavigation(TabContents* source,
954 const GURL& url,
955 const GURL& referrer,
956 WindowOpenDisposition *disposition,
957 PageTransition::Type transition);
958
959 // Shows the Find Bar, optionally selecting the next entry that matches the 941 // Shows the Find Bar, optionally selecting the next entry that matches the
960 // existing search string for that Tab. |forward_direction| controls the 942 // existing search string for that Tab. |forward_direction| controls the
961 // search direction. 943 // search direction.
962 void FindInPage(bool find_next, bool forward_direction); 944 void FindInPage(bool find_next, bool forward_direction);
963 945
964 // Closes the frame. 946 // Closes the frame.
965 // TODO(beng): figure out if we need this now that the frame itself closes 947 // TODO(beng): figure out if we need this now that the frame itself closes
966 // after a return to the message loop. 948 // after a return to the message loop.
967 void CloseFrame(); 949 void CloseFrame();
968 950
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 // and we install ourselves as an observer. 1134 // and we install ourselves as an observer.
1153 TabRestoreService* tab_restore_service_; 1135 TabRestoreService* tab_restore_service_;
1154 1136
1155 scoped_ptr<InstantController> instant_; 1137 scoped_ptr<InstantController> instant_;
1156 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1138 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1157 1139
1158 DISALLOW_COPY_AND_ASSIGN(Browser); 1140 DISALLOW_COPY_AND_ASSIGN(Browser);
1159 }; 1141 };
1160 1142
1161 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1143 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698