summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 22:30:27 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 22:30:27 +0000
commit5bc862f799bb4e8292c685a04a06fd0fa3ae72db (patch)
treea605ea0df0b1c08f8096dabf3b357849f317c9b9 /chrome/browser/views/location_bar_view.h
parentbd7a9abd4090d3ace7c2f2a9b67d6a66a8b9e3d3 (diff)
downloadchromium_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/views/location_bar_view.h')
-rw-r--r--chrome/browser/views/location_bar_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/location_bar_view.h b/chrome/browser/views/location_bar_view.h
index a127ab9..dcc00da 100644
--- a/chrome/browser/views/location_bar_view.h
+++ b/chrome/browser/views/location_bar_view.h
@@ -109,6 +109,7 @@ class LocationBarView : public LocationBar,
virtual void OnInputInProgress(bool in_progress) {
delegate_->OnInputInProgress(in_progress);
}
+ virtual void OnSetFocus();
virtual SkBitmap GetFavIcon() const;
virtual std::wstring GetTitle() const;