summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents.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/tab_contents.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/tab_contents.h')
-rw-r--r--chrome/browser/tab_contents.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/chrome/browser/tab_contents.h b/chrome/browser/tab_contents.h
index 3b38963..899a63e 100644
--- a/chrome/browser/tab_contents.h
+++ b/chrome/browser/tab_contents.h
@@ -289,20 +289,6 @@ class TabContents : public PageNavigator,
// Stop any pending navigation.
virtual void Stop() {}
- // An asynchronous call to trigger the string search in the page.
- // It sends an IPC message to the Renderer that handles the string
- // search, selecting the matches and setting the caret positions.
- // This function also starts the asynchronous scoping effort.
- virtual void StartFinding(int request_id,
- const std::wstring& string,
- bool forward, bool match_case,
- bool find_next) { }
-
- // An asynchronous call to stop the string search in the page. If
- // |clear_selection| is true, it will also clear the selection on the
- // focused frame.
- virtual void StopFinding(bool clear_selection) { }
-
// TODO(erg): HACK ALERT! This was thrown together for beta and
// needs to be completely removed after we ship it. Right now, the
// cut/copy/paste menu items are always enabled and will send a
@@ -350,15 +336,6 @@ class TabContents : public PageNavigator,
// of unwanted popups.
void CloseAllSuppressedPopups();
- // Show, Hide and Size the TabContents.
- // TODO(beng): (Cleanup) Show/Size TabContents should be made to actually
- // show and size the View. For simplicity sake, for now they're
- // just empty. This is currently a bit of a mess and is just a
- // band-aid.
- virtual void ShowContents() {}
- virtual void HideContents();
- virtual void SizeContents(const gfx::Size& size) {}
-
// Views and focus -----------------------------------------------------------
// Returns the actual window that is focused when this TabContents is shown.