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

Issue 1815563002: MacViews: Enable acceptsFirstMouse for BridgedContentView. (Closed)

Created:
4 years, 9 months ago by Patti Lor
Modified:
4 years, 9 months ago
Reviewers:
tapted, themblsha
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MacViews: Enable acceptsFirstMouse for BridgedContentView. This allows an initial mouse click on an inactive window to be accepted immediately, so two clicks are not required (i.e. one to activate the view and the second to send the mouse event to the view itself). See linked bugs for certificate viewer and tab dragging, both which require this to be enabled. BUG=594079, 587239 Committed: https://crrev.com/2d62862c2faaa841bbeaf9a455df499e62c26476 Cr-Commit-Position: refs/heads/master@{#382240}

Patch Set 1 #

Patch Set 2 : Linting, update comment. #

Total comments: 8

Patch Set 3 : Address review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M ui/views/cocoa/bridged_content_view.mm View 1 2 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
Patti Lor
PTAL, thanks :)
4 years, 9 months ago (2016-03-17 23:51:25 UTC) #2
tapted
https://codereview.chromium.org/1815563002/diff/20001/ui/views/cocoa/bridged_content_view.mm File ui/views/cocoa/bridged_content_view.mm (right): https://codereview.chromium.org/1815563002/diff/20001/ui/views/cocoa/bridged_content_view.mm#newcode871 ui/views/cocoa/bridged_content_view.mm:871: // To maximise consistency with the Cocoa browser (mac_views_browser=0), ...
4 years, 9 months ago (2016-03-17 23:57:35 UTC) #3
Patti Lor
Thanks, all fixed! https://codereview.chromium.org/1815563002/diff/20001/ui/views/cocoa/bridged_content_view.mm File ui/views/cocoa/bridged_content_view.mm (right): https://codereview.chromium.org/1815563002/diff/20001/ui/views/cocoa/bridged_content_view.mm#newcode871 ui/views/cocoa/bridged_content_view.mm:871: // To maximise consistency with the ...
4 years, 9 months ago (2016-03-18 00:19:39 UTC) #4
tapted
lgtm
4 years, 9 months ago (2016-03-18 00:52:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815563002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815563002/40001
4 years, 9 months ago (2016-03-20 23:57:03 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-21 00:38:38 UTC) #8
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/2d62862c2faaa841bbeaf9a455df499e62c26476 Cr-Commit-Position: refs/heads/master@{#382240}
4 years, 9 months ago (2016-03-21 00:40:09 UTC) #10
themblsha
Citing the comment in committed diff: > To maximize consistency with the Cocoa browser (mac_views_browser=0), ...
4 years, 9 months ago (2016-03-21 09:27:18 UTC) #11
tapted
On 2016/03/21 09:27:18, themblsha wrote: > Citing the comment in committed diff: > > To ...
4 years, 9 months ago (2016-03-22 05:26:20 UTC) #12
themblsha
4 years, 9 months ago (2016-03-22 15:16:44 UTC) #13
Message was sent while issue was closed.
On 2016/03/22 05:26:20, tapted wrote:
> Currently, MacViewsBrowser still uses RenderWidgetHostViewCocao; RWHVC is
> responsible for handling clicks on links in the content area, so that
behaviour
> should be unchanged. Then, the other views describe the bulk of the UI in
> Chrome. So, it seems simpler at this point to switch modes and then see if we
> need special cases later.

Whoa, clicking on links in MacViews works the same as in Cocoa. So it'll be fine
until Chromium switches away from RWHVC :)

Powered by Google App Engine
This is Rietveld 408576698