diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-03 22:30:27 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-03 22:30:27 +0000 |
commit | 5bc862f799bb4e8292c685a04a06fd0fa3ae72db (patch) | |
tree | a605ea0df0b1c08f8096dabf3b357849f317c9b9 /chrome/browser/autocomplete/autocomplete_edit.h | |
parent | bd7a9abd4090d3ace7c2f2a9b67d6a66a8b9e3d3 (diff) | |
download | chromium_src-5bc862f799bb4e8292c685a04a06fd0fa3ae72db.zip chromium_src-5bc862f799bb4e8292c685a04a06fd0fa3ae72db.tar.gz chromium_src-5bc862f799bb4e8292c685a04a06fd0fa3ae72db.tar.bz2 |
Fixing focus in location bar and accelerators on Linux toolkit views.
BUG=None
TEST=Focus the location bar, deactive/reactivate the browser window with
Alt-Tab, the focus should still be on the location bar.
Click few links on a page to have a history navigation. Focus the location
bar, use backspace to delete some text. Focus a text area in a web page,
make sure backspace works as expected (deletes text). Now click on a non
text area, press backspace. You should trigger a navigate back.
Review URL: http://codereview.chromium.org/185014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25389 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit.h')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h index 4d6c4a7..1264a32 100644 --- a/chrome/browser/autocomplete/autocomplete_edit.h +++ b/chrome/browser/autocomplete/autocomplete_edit.h @@ -47,6 +47,9 @@ class AutocompleteEditController { // the edit is guaranteed to be showing the permanent text. virtual void OnInputInProgress(bool in_progress) = 0; + // Called whenever the autocomplete edit gets focused. + virtual void OnSetFocus() = 0; + // Returns the favicon of the current page. virtual SkBitmap GetFavIcon() const = 0; |