summaryrefslogtreecommitdiffstats
path: root/chrome/test/test_location_bar.h
diff options
context:
space:
mode:
authoridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 23:27:29 +0000
committeridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-24 23:27:29 +0000
commit485fba4e0ffed47471580592533ea060239a7f7b (patch)
tree170aabf3134295001a605c17ad192be8dd72a079 /chrome/test/test_location_bar.h
parent53703f7d80d3a691af68bcfd7f83f59b965fb642 (diff)
downloadchromium_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/test/test_location_bar.h')
-rw-r--r--chrome/test/test_location_bar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/test/test_location_bar.h b/chrome/test/test_location_bar.h
index b303a737..29ba999 100644
--- a/chrome/test/test_location_bar.h
+++ b/chrome/test/test_location_bar.h
@@ -34,6 +34,7 @@ class TestLocationBar : public LocationBar {
}
virtual PageTransition::Type GetPageTransition() const { return transition_; }
virtual void AcceptInput() {}
+ virtual void AcceptInputWithDisposition(WindowOpenDisposition) {};
virtual void FocusLocation() {}
virtual void FocusSearch() {}
virtual void UpdateFeedIcon() {}