diff options
author | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 23:27:29 +0000 |
---|---|---|
committer | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-24 23:27:29 +0000 |
commit | 485fba4e0ffed47471580592533ea060239a7f7b (patch) | |
tree | 170aabf3134295001a605c17ad192be8dd72a079 /chrome/browser/location_bar.h | |
parent | 53703f7d80d3a691af68bcfd7f83f59b965fb642 (diff) | |
download | chromium_src-485fba4e0ffed47471580592533ea060239a7f7b.zip chromium_src-485fba4e0ffed47471580592533ea060239a7f7b.tar.gz chromium_src-485fba4e0ffed47471580592533ea060239a7f7b.tar.bz2 |
Redone http://codereview.chromium.org/42571
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=maruel
Review URL: http://codereview.chromium.org/53020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/location_bar.h')
-rw-r--r-- | chrome/browser/location_bar.h | 3 |
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; |