summaryrefslogtreecommitdiffstats
path: root/chrome/browser/location_bar.h
diff options
context:
space:
mode:
authoridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 19:06:12 +0000
committeridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 19:06:12 +0000
commit28a45c708dd128ee9e61c547f7d10cd55530f374 (patch)
tree107498b717ba720eca02df2eddfe034055f4469a /chrome/browser/location_bar.h
parent6b01318fe807d9a6dca2a31ce7f0242ef3c93453 (diff)
downloadchromium_src-28a45c708dd128ee9e61c547f7d10cd55530f374.zip
chromium_src-28a45c708dd128ee9e61c547f7d10cd55530f374.tar.gz
chromium_src-28a45c708dd128ee9e61c547f7d10cd55530f374.tar.bz2
Issue 6477: Support modifier clicks on UI elements
Mouse event flags transformed to WindoOpenDisposition so that browser commands can all inteterpert event modifiers. Implemented home, forward and backwards middle-click andshift middle click. Previously working on issue 358 which was market a duplicate and concerned with the home and tabstrip subset of this behavior: Can't open a new tab by middle-clicking home button. No functionality has been lost or altered, only the use ofmodifiers give access to increased functionality. BUG=6477 TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12383 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 b6499d8..a7b0c0d 100644
--- a/chrome/browser/location_bar.h
+++ b/chrome/browser/location_bar.h
@@ -37,6 +37,9 @@ class LocationBar {
// Accepts the current string of text entered in the location bar.
virtual void AcceptInput() = 0;
+ // Accept the current input, overriding the disposition.
+ virtual void AcceptInputWithDisposition(WindowOpenDisposition) = 0;
+
// Focuses and selects the contents of the location bar.
virtual void FocusLocation() = 0;