summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 15:03:01 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-21 15:03:01 +0000
commit9e0534be9784821a8507f20a873d6410b21680e5 (patch)
treec6dd8baa8bf9986df0168cf54c6a5c8b5c49e0e9 /chrome/browser/browser.h
parent1c023d6ec42e2dd30e8a31edbb2cdd49db86cfc4 (diff)
downloadchromium_src-9e0534be9784821a8507f20a873d6410b21680e5.zip
chromium_src-9e0534be9784821a8507f20a873d6410b21680e5.tar.gz
chromium_src-9e0534be9784821a8507f20a873d6410b21680e5.tar.bz2
Factor find in page out of WebContents and into the view, since it is almost
all view specific. Rename find in page controller to be "FindBarWin", and find in page view to be "findBarView" (since this is not Windows specific, but "Views" specific). I did lots of simplification and moving around of the find in page API. I coalesced several of the show functions into one master function on the view. I removed some other sizing and window updating code from WebContents and moved it to the view. Review URL: http://codereview.chromium.org/7667 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3654 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index a57074f..e896b18 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -97,19 +97,13 @@ class Browser : public TabStripModelDelegate,
// Opens the FindInPage window for the currently open tab.
void OpenFindInPageWindow();
- // Becomes the parent window of the Find window of the specified tab. This is
- // useful, for example, when tabs are dragged out of (or in to) the tab strip
- // to make sure the Find window shows up in the right Browser window.
- void AdoptFindWindow(TabContents* tab_contents);
// debugger shell
void OpenDebuggerWindow();
// Advance the find selection by one. Direction is either forward or backwards
- // depending on parameter passed in. If selection cannot be advanced (for
- // example because no search has been issued, then the function returns false
- // and caller can call OpenFindInPageWindow to show the search window.
- bool AdvanceFindSelection(bool forward_direction);
+ // depending on parameter passed in.
+ void AdvanceFindSelection(bool forward_direction);
Profile* profile() const { return profile_; }