diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 19:26:19 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-10 19:26:19 +0000 |
commit | 31b1bc3aee74415fc8333f537da2dde64f0e08f9 (patch) | |
tree | 754865e0f773e0fb4fc647ae61eb43a8a79d775c /chrome/browser/browser.h | |
parent | ef47b8c0779d03237d4a20cb419ec4935deaa491 (diff) | |
download | chromium_src-31b1bc3aee74415fc8333f537da2dde64f0e08f9.zip chromium_src-31b1bc3aee74415fc8333f537da2dde64f0e08f9.tar.gz chromium_src-31b1bc3aee74415fc8333f537da2dde64f0e08f9.tar.bz2 |
First cut at the find bar.
Ctrl+F will display a box (pushing down the web contents) that typing
into will cause webkit to highlight on the page. Esc will dismiss the
box.
I also changed the gtk_widget_show_all in browser window to be a regular gtk_widget_show. Child widgets need to manually show themselves now.
Review URL: http://codereview.chromium.org/42026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index dc9ebbd..d6977822 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -295,12 +295,12 @@ class Browser : public TabStripModelDelegate, void Copy(); void CopyCurrentPageURL(); void Paste(); +#endif // Find-in-page void Find(); void FindNext(); void FindPrevious(); -#endif // Zoom void ZoomIn(); @@ -546,12 +546,10 @@ class Browser : public TabStripModelDelegate, // has not been set. GURL GetHomePage(); -#if defined(OS_WIN) // Shows the Find Bar, optionally selecting the next entry that matches the // existing search string for that Tab. |forward_direction| controls the // search direction. void FindInPage(bool find_next, bool forward_direction); -#endif // Closes the frame. // TODO(beng): figure out if we need this now that the frame itself closes |