diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-13 04:22:22 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-13 04:22:22 +0000 |
commit | f9b1b9aa6717657be56a9f7e72c3cd164a68dfe7 (patch) | |
tree | 39801b3953ceb2bb65c83eb9506dff8c60856bf0 /chrome/browser/location_bar.h | |
parent | d54f9acebb3cd422f4a3838f5450c7d74de0cd21 (diff) | |
download | chromium_src-f9b1b9aa6717657be56a9f7e72c3cd164a68dfe7.zip chromium_src-f9b1b9aa6717657be56a9f7e72c3cd164a68dfe7.tar.gz chromium_src-f9b1b9aa6717657be56a9f7e72c3cd164a68dfe7.tar.bz2 |
Make sure the Omnibox is hidden when toolbar is collapsed.
BUG=None
TEST=Visual inspection. The Omnibox should never become visible for tabs with a collapsed toolbar (app tabs). F11 twice should not show the Omnibox.
Review URL: http://codereview.chromium.org/2032015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47119 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/location_bar.h')
-rw-r--r-- | chrome/browser/location_bar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/location_bar.h b/chrome/browser/location_bar.h index 1d71dd2..0ceee05 100644 --- a/chrome/browser/location_bar.h +++ b/chrome/browser/location_bar.h @@ -72,6 +72,13 @@ class LocationBar { virtual const AutocompleteEditView* location_entry() const = 0; virtual AutocompleteEditView* location_entry() = 0; + // Hides the edit field of the location bar if it hasn't already been + // force-hidden. The force hidden count is tracked, so calling multiple + // times is allowed, you just have to be sure to call PopForceHidden + // the same number of times. Currently, this is only needed for Windows. + virtual void PushForceHidden() = 0; + virtual void PopForceHidden() = 0; + // Returns a pointer to the testing interface. virtual LocationBarTesting* GetLocationBarForTesting() = 0; |