summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 20:20:35 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-14 20:20:35 +0000
commit2be2c01334383d74703dc88ecb67fae96a9124f9 (patch)
tree33b49e76db9830e974d235047ee940c0eecacdd4 /chrome/browser/autocomplete/autocomplete_edit_view_mac.h
parent9c1a794e4b6c9d3ffca49889958ff381ecb82e32 (diff)
downloadchromium_src-2be2c01334383d74703dc88ecb67fae96a9124f9.zip
chromium_src-2be2c01334383d74703dc88ecb67fae96a9124f9.tar.gz
chromium_src-2be2c01334383d74703dc88ecb67fae96a9124f9.tar.bz2
This CL makes the focus remembered across tab switches for Chrome Linux with toolkit views.
It also contains clean-ups and implementation of different minor focus related things. BUG=None TEST=Open several tabs. Focus the location bar for some tabs, the page for others. Make sure that when switching between tabs the focus is restored to the last focused place (location bar or page) for each tab. Also test that deactivating/reactivating the browser window still restores focus properly. Review URL: http://codereview.chromium.org/194041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26153 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_mac.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_mac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
index f6179fb..45ce48b 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_mac.h
@@ -78,6 +78,7 @@ class AutocompleteEditViewMac : public AutocompleteEditView {
virtual void RevertAll();
virtual void UpdatePopup();
virtual void ClosePopup();
+ virtual void SetFocus();
virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text,
bool save_original_selection);
virtual bool OnInlineAutocompleteTextMaybeChanged(