Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(618)

Issue 17428: Issue 358: Can't open a new tab by middle-clicking home button... (Closed)

Created:
11 years, 11 months ago by Itai
Modified:
9 years, 7 months ago
Visibility:
Public.

Description

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

Patch Set 1 #

Total comments: 7

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 6

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 5

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -42 lines) Patch
M chrome/browser/automation/automation_provider.cc View 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/browser.h View 1 2 3 4 5 6 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 4 5 6 7 chunks +46 lines, -20 lines 0 comments Download
M chrome/browser/location_bar.h View 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/views/go_button.h View 2 3 4 5 6 4 chunks +4 lines, -6 lines 0 comments Download
M chrome/browser/views/go_button.cc View 2 3 4 5 6 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/views/location_bar_view.h View 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/views/toolbar_view.cc View 1 2 3 4 5 6 6 chunks +11 lines, -2 lines 0 comments Download
M chrome/views/controls/button/custom_button.h View 5 6 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/views/controls/button/custom_button.cc View 5 6 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Ben Goodger (Google)
http://codereview.chromium.org/17428/diff/1/4 File chrome/browser/views/tabs/tab_strip.cc (right): http://codereview.chromium.org/17428/diff/1/4#newcode707 Line 707: return (e.GetFlags() & MouseEvent::EF_MIDDLE_BUTTON_DOWN) != 0; What's this ...
11 years, 11 months ago (2009-01-15 19:07:16 UTC) #1
Peter Kasting
On 2009/01/15 19:07:16, Ben Goodger wrote: > I don't think we should have a specialization ...
11 years, 11 months ago (2009-01-15 20:46:01 UTC) #2
Itai
http://codereview.chromium.org/17428/diff/1/4 File chrome/browser/views/tabs/tab_strip.cc (right): http://codereview.chromium.org/17428/diff/1/4#newcode707 Line 707: return (e.GetFlags() & MouseEvent::EF_MIDDLE_BUTTON_DOWN) != 0; Well, it ...
11 years, 11 months ago (2009-01-15 22:04:20 UTC) #3
Itai
Hi Ben, Here is the code for the generalized version of Issue 358 which is ...
11 years, 10 months ago (2009-02-03 17:34:16 UTC) #4
Peter Kasting
On 2009/02/03 17:34:16, Itai wrote: > Functionality added in this change: > - Backwards, Forwards, ...
11 years, 10 months ago (2009-02-03 17:44:21 UTC) #5
Ben Goodger (Google)
http://codereview.chromium.org/17428/diff/1/4 File chrome/browser/views/tabs/tab_strip.cc (right): http://codereview.chromium.org/17428/diff/1/4#newcode707 Line 707: return (e.GetFlags() & MouseEvent::EF_MIDDLE_BUTTON_DOWN) != 0; Our principles ...
11 years, 10 months ago (2009-02-08 21:58:42 UTC) #6
Ben Goodger (Google)
http://codereview.chromium.org/17428/diff/4001/4016 File chrome/browser/views/frame/browser_frame.cc (right): http://codereview.chromium.org/17428/diff/4001/4016#newcode188 Line 188: browser_view_->tabstrip()->model()->AddBlankTab(true); Please remove this. http://codereview.chromium.org/17428/diff/4001/4011 File chrome/browser/views/go_button.cc (right): ...
11 years, 9 months ago (2009-03-17 19:41:31 UTC) #7
idanan
On 2009/03/17 19:41:31, Ben Goodger wrote: > http://codereview.chromium.org/17428/diff/4001/4016 > File chrome/browser/views/frame/browser_frame.cc (right): > > http://codereview.chromium.org/17428/diff/4001/4016#newcode188 ...
11 years, 9 months ago (2009-03-19 13:30:38 UTC) #8
idanan
11 years, 9 months ago (2009-03-19 13:33:37 UTC) #9
Ben Goodger (Google)
Feel free to file a bug about removing the stateful nature of mouse event flags, ...
11 years, 9 months ago (2009-03-19 23:59:03 UTC) #10
idanan
On 2009/03/19 23:59:03, Ben Goodger wrote: > Feel free to file a bug about removing ...
11 years, 9 months ago (2009-03-20 13:55:10 UTC) #11
idanan
11 years, 9 months ago (2009-03-24 19:18:25 UTC) #12
Made this CL TBR, so that you can look at it when you have more time, as I've
already addressed your comments except the one where you incorrectly assumed the
function was called from one place since last Thursday.

I'll address any constructive comments in a subsequent CL.

Powered by Google App Engine
This is Rietveld 408576698