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

Issue 2034863002: Move SelectionBound from ui/base/touch to ui/gfx to be used by cc (Closed)

Created:
4 years, 6 months ago by Fady Samuel
Modified:
4 years, 6 months ago
Reviewers:
sadrul, dtapuska
CC:
chromium-reviews, yusukes+watch_chromium.org, tfarina, shuchen+watch_chromium.org, jam, dtapuska+chromiumwatch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move SelectionBound from ui/base/touch to ui/gfx to be used by cc We need to be able to serialize CompositorFrames over mojo which depend (indirectly) on cc::ViewportSelectionBound. To avoid writing two serializers for two very similar structs, I've addressed jdduke@'s TODO to unify the two SelectionBounds. As a first step, this CL moves SelectionBound to a directory that can be used by cc. BUG=611802 TBR=sadrul@chromium.org, ben@chromium.org Committed: https://crrev.com/181cbc09384b9175d6de86f60b97b5a9aadd9711 Cr-Commit-Position: refs/heads/master@{#397585}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed broken tests #

Patch Set 3 : Fix android #

Patch Set 4 : Updated views_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -461 lines) Patch
M content/browser/renderer_host/input/ui_touch_selection_helper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/ui_touch_selection_helper.cc View 1 chunk +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 4 chunks +13 lines, -12 lines 0 comments Download
M ui/base/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
D ui/base/touch/selection_bound.h View 1 chunk +0 lines, -75 lines 0 comments Download
D ui/base/touch/selection_bound.cc View 1 chunk +0 lines, -85 lines 0 comments Download
D ui/base/touch/selection_bound_unittest.cc View 1 chunk +0 lines, -90 lines 0 comments Download
M ui/base/touch/touch_editing_controller.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/base/ui_base.gyp View 2 chunks +1 line, -3 lines 0 comments Download
M ui/base/ui_base_tests.gyp View 1 2 chunks +0 lines, -2 lines 0 comments Download
M ui/gfx/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/gfx/gfx.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gfx_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
A + ui/gfx/selection_bound.h View 2 chunks +15 lines, -23 lines 0 comments Download
A + ui/gfx/selection_bound.cc View 2 chunks +5 lines, -7 lines 0 comments Download
A + ui/gfx/selection_bound_unittest.cc View 3 chunks +27 lines, -35 lines 0 comments Download
M ui/touch_selection/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M ui/touch_selection/touch_selection_controller.h View 4 chunks +7 lines, -7 lines 0 comments Download
M ui/touch_selection/touch_selection_controller.cc View 4 chunks +15 lines, -14 lines 0 comments Download
M ui/touch_selection/touch_selection_controller_unittest.cc View 1 2 chunks +7 lines, -7 lines 0 comments Download
M ui/touch_selection/ui_touch_selection.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/textfield/textfield.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.h View 4 chunks +10 lines, -10 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 17 chunks +38 lines, -38 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl_unittest.cc View 1 2 3 9 chunks +17 lines, -17 lines 0 comments Download

Messages

Total messages: 28 (15 generated)
Fady Samuel
4 years, 6 months ago (2016-06-02 20:11:26 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034863002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034863002/1
4 years, 6 months ago (2016-06-02 20:12:42 UTC) #5
dtapuska
lgtm % one question https://codereview.chromium.org/2034863002/diff/1/ui/base/ui_base_tests.gyp File ui/base/ui_base_tests.gyp (right): https://codereview.chromium.org/2034863002/diff/1/ui/base/ui_base_tests.gyp#newcode163 ui/base/ui_base_tests.gyp:163: 'selection_bound_unittest.cc', Is this correct? I'd ...
4 years, 6 months ago (2016-06-02 20:16:56 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/121353)
4 years, 6 months ago (2016-06-02 20:28:49 UTC) #9
Fady Samuel
PTAL Sadrul for OWNERS https://codereview.chromium.org/2034863002/diff/1/ui/base/ui_base_tests.gyp File ui/base/ui_base_tests.gyp (right): https://codereview.chromium.org/2034863002/diff/1/ui/base/ui_base_tests.gyp#newcode163 ui/base/ui_base_tests.gyp:163: 'selection_bound_unittest.cc', On 2016/06/02 20:16:56, dtapuska ...
4 years, 6 months ago (2016-06-02 20:38:32 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034863002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034863002/20001
4 years, 6 months ago (2016-06-02 20:39:24 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034863002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034863002/40001
4 years, 6 months ago (2016-06-02 20:57:43 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/180129)
4 years, 6 months ago (2016-06-02 21:27:43 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034863002/60001
4 years, 6 months ago (2016-06-02 22:01:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034863002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2034863002/60001
4 years, 6 months ago (2016-06-02 23:30:46 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-03 02:31:26 UTC) #25
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/181cbc09384b9175d6de86f60b97b5a9aadd9711 Cr-Commit-Position: refs/heads/master@{#397585}
4 years, 6 months ago (2016-06-03 02:35:12 UTC) #27
sadrul
4 years, 6 months ago (2016-06-03 07:59:12 UTC) #28
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698