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

Issue 494823002: Plumb selection edge points through the compositor (Closed)

Created:
6 years, 4 months ago by jdduke (slow)
Modified:
6 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, jdduke+watch_chromium.org, nona+watch_chromium.org, penghuang+watch_chromium.org, piman+watch_chromium.org, James Su, yukishiino+watch_chromium.org, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Plumb selection edge points through the compositor Previously, a rect was used to convey selection bound edge geometry. This proved confusing and problematic, particularly for non-axis-aligned text. Instead, start using the bound edge points provided by Blink. This depends on the Blink change http://codereview.chromium.org/495673003/. BUG=405666 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291460

Patch Set 1 #

Patch Set 2 : Order tweak #

Total comments: 4

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -178 lines) Patch
M cc/input/layer_selection_bound.h View 2 chunks +3 lines, -2 lines 0 comments Download
M cc/input/layer_selection_bound.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/viewport_selection_bound.h View 2 chunks +3 lines, -2 lines 0 comments Download
M cc/output/viewport_selection_bound.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 1 chunk +36 lines, -17 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 6 chunks +54 lines, -26 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller.h View 4 chunks +9 lines, -14 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller.cc View 6 chunks +46 lines, -43 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller_unittest.cc View 1 chunk +18 lines, -34 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 chunks +27 lines, -23 lines 0 comments Download
M content/common/cc_messages.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 1 chunk +11 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
jdduke (slow)
aelias@: PTAL. This makes the change we discussed form using rects to a pair of ...
6 years, 4 months ago (2014-08-20 21:27:28 UTC) #1
aelias_OOO_until_Jul13
https://codereview.chromium.org/494823002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/494823002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode780 content/browser/renderer_host/render_widget_host_view_android.cc:780: gfx::RectF start_rect(params.anchor_rect); Can you go ahead and change ViewHostMsg_SelectionBounds_Params ...
6 years, 4 months ago (2014-08-20 21:41:03 UTC) #2
jdduke (slow)
https://codereview.chromium.org/494823002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc File content/browser/renderer_host/render_widget_host_view_android.cc (right): https://codereview.chromium.org/494823002/diff/20001/content/browser/renderer_host/render_widget_host_view_android.cc#newcode780 content/browser/renderer_host/render_widget_host_view_android.cc:780: gfx::RectF start_rect(params.anchor_rect); On 2014/08/20 21:41:03, aelias wrote: > Can ...
6 years, 4 months ago (2014-08-20 21:58:44 UTC) #3
aelias_OOO_until_Jul13
OK, sounds like ViewHostMsg_SelectionBounds_Params is destined for deletion so no reason to change it. lgtm
6 years, 4 months ago (2014-08-20 22:04:25 UTC) #4
jdduke (slow)
PTAL, thanks. tsepez@: Security review for content/common/cc_messages.h jamesr@: Owner review for content/renderer/gpu/render_widget_compositor.cc.
6 years, 4 months ago (2014-08-20 22:19:06 UTC) #5
jamesr
lgtm
6 years, 4 months ago (2014-08-20 22:21:18 UTC) #6
Tom Sepez
lgtm
6 years, 4 months ago (2014-08-20 22:31:17 UTC) #7
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-22 13:09:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/494823002/20001
6 years, 4 months ago (2014-08-22 13:10:02 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-22 13:54:41 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 13:57:55 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/5983)
6 years, 4 months ago (2014-08-22 13:57:56 UTC) #12
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-22 17:59:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/494823002/40001
6 years, 4 months ago (2014-08-22 18:00:46 UTC) #14
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 18:57:49 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (40001) as 291460

Powered by Google App Engine
This is Rietveld 408576698