summaryrefslogtreecommitdiffstats
path: root/chrome/browser/location_bar.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 17:10:29 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 17:10:29 +0000
commit0a4a3c159a119fd094c805158eb6a55d2c007601 (patch)
treeb3b026ce0b45fc9babc90ecd232bb7805756e1d5 /chrome/browser/location_bar.h
parent20142ba1b6c593896a894699d1971c4271456a20 (diff)
downloadchromium_src-0a4a3c159a119fd094c805158eb6a55d2c007601.zip
chromium_src-0a4a3c159a119fd094c805158eb6a55d2c007601.tar.gz
chromium_src-0a4a3c159a119fd094c805158eb6a55d2c007601.tar.bz2
Reset the omnibox contents when the user reloads the page. Patch by Yusuke Sato (see http://codereview.chromium.org/100198 ), r=me.
BUG=2985 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/location_bar.h')
-rw-r--r--chrome/browser/location_bar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/location_bar.h b/chrome/browser/location_bar.h
index a1f4898..ccb4781 100644
--- a/chrome/browser/location_bar.h
+++ b/chrome/browser/location_bar.h
@@ -56,6 +56,9 @@ class LocationBar {
// Saves the state of the location bar to the specified TabContents, so that
// it can be restored later. (Done when switching tabs).
virtual void SaveStateToContents(TabContents* contents) = 0;
+
+ // Reverts the location bar. The bar's permanent text will be shown.
+ virtual void Revert() = 0;
};
#endif // CHROME_BROWSER_LOCATION_BAR_H_