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 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed)

Created:
5 years, 2 months ago by danakj
Modified:
5 years, 1 month ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, chromoting-reviews_chromium.org, nektar+watch_chromium.org, dcheng, sievers+watch_chromium.org, bondd+autofillwatch_chromium.org, rsesek+watch_chromium.org, dmazzoni+watch_chromium.org, peter+watch_chromium.org, jdduke+watch_chromium.org, tapted, tdanderson+views_chromium.org, msw+watch_chromium.org, hcarmona+bubble_chromium.org, Matt Giuca, aboxhall+watch_chromium.org, jam, jbauman+watch_chromium.org, nona+watch_chromium.org, je_julie, darin-cc_chromium.org, devtools-reviews_chromium.org, kalyank, mlamouri+watch-content_chromium.org, derat+watch_chromium.org, tdresser+watch_chromium.org, rouslan+autofill_chromium.org, mlamouri+watch-notifications_chromium.org, tdanderson+overview_chromium.org, yuzo+watch_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, rouslan+bubble_chromium.org, groby+bubble_chromium.org, plundblad+watch_chromium.org, Ian Vollick, tfarina, shuchen+watch_chromium.org, yurys, jdonnelly+autofillwatch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, cc-bugs_chromium.org, James Su, pfeldman, enne (OOO), piman, vmpstr, tdresser, dnicoara
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gfx: Make conversions from gfx::Point to PointF explicit. R=sky@chromium.org, vmpstr BUG=342848 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/089746fb7612de40d86dcb5f440a45b4d8164e95 Cr-Commit-Position: refs/heads/master@{#357460}

Patch Set 1 : pointfconvert-gfx: . #

Total comments: 4

Patch Set 2 : pointfconvert-gfx: nocc #

Patch Set 3 : pointfconvert-gfx: less-changes #

Patch Set 4 : pointfconvert-gfx: less-code-again #

Patch Set 5 : pointfconvert-gfx: less-content #

Patch Set 6 : pointfconvert-gfx: noremoting #

Patch Set 7 : pointfconvert-gfx: . #

Patch Set 8 : pointfconvert-gfx: nomagnifier #

Patch Set 9 : pointfconvert-gfx: noandroid #

Patch Set 10 : pointfconvert-gfx: nocompositor #

Patch Set 11 : pointfconvert-gfx: lessismore #

Patch Set 12 : pointfconvert-gfx: lessandless #

Patch Set 13 : pointfconvert-gfx: sotinynot #

Patch Set 14 : pointfconvert-gfx: origin/master #

Patch Set 15 : pointfconvert-gfx: . #

Patch Set 16 : pointfconvert-gfx: . #

Patch Set 17 : pointfconvert-gfx: . #

Patch Set 18 : pointfconvert-event: eventstakepoints #

Patch Set 19 : pointfconvert-event: browsertests #

Total comments: 4

Patch Set 20 : pointfconvert-event: morewindowsandmojo #

Patch Set 21 : pointfconvert-event: ozoneandmus #

Total comments: 1

Patch Set 22 : pointfconvert-event: androidandmojo #

Patch Set 23 : pointfconvert-event: couplemore #

Patch Set 24 : pointfconvert-event: somemorestuff #

Patch Set 25 : pointfconvert-event: pointsarepoints #

Patch Set 26 : pointfconvert-event: . #

Patch Set 27 : pointfconvert-event: mandol_line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -481 lines) Patch
M ash/drag_drop/drag_drop_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +19 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/compositor/layer/toolbar_layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/link_disambiguation/link_disambiguation_popup.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -3 lines 0 comments Download
M components/html_viewer/input_events_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +3 lines, -3 lines 0 comments Download
M components/mus/example/wm/move_loop_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +2 lines, -2 lines 0 comments Download
M components/mus/ws/event_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 13 chunks +41 lines, -41 lines 0 comments Download
M content/browser/accessibility/touch_accessibility_aura_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +9 lines, -9 lines 0 comments Download
M content/browser/renderer_host/input/synthetic_gesture_target_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -5 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller_client_aura_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 17 chunks +27 lines, -28 lines 0 comments Download
M content/browser/renderer_host/ui_events_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -9 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 13 chunks +29 lines, -34 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 15 chunks +15 lines, -25 lines 0 comments Download
M content/common/cursors/webcursor_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/converters/input_events/input_events_type_converters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +9 lines, -4 lines 0 comments Download
M ui/app_list/folder_image.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 12 chunks +43 lines, -37 lines 0 comments Download
M ui/aura/test/ui_controls_factory_ozone.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -2 lines 0 comments Download
M ui/aura/window_event_dispatcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +5 lines, -5 lines 0 comments Download
M ui/aura/window_tree_host.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/dragdrop/drop_target_event.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
M ui/base/dragdrop/drop_target_event.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +4 lines, -4 lines 0 comments Download
M ui/base/touch/selection_bound_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +14 lines, -14 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +2 lines, -2 lines 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 11 chunks +72 lines, -41 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +15 lines, -9 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 7 chunks +23 lines, -12 lines 0 comments Download
M ui/events/event_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -4 lines 0 comments Download
M ui/events/gestures/gesture_provider_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +24 lines, -62 lines 0 comments Download
M ui/events/gestures/gesture_recognizer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -9 lines 0 comments Download
M ui/events/gestures/motion_event_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +3 lines, -1 line 0 comments Download
M ui/events/gestures/motion_event_aura_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +13 lines, -26 lines 0 comments Download
M ui/events/ozone/evdev/event_factory_evdev.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +15 lines, -5 lines 0 comments Download
M ui/events/test/event_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +6 lines, -4 lines 0 comments Download
M ui/events/test/events_test_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +5 lines, -2 lines 0 comments Download
M ui/gfx/geometry/point.h View 1 2 2 chunks +0 lines, -5 lines 0 comments Download
M ui/gfx/geometry/point.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/geometry/point_f.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ui/gfx/geometry/point_unittest.cc View 2 chunks +8 lines, -19 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_cursor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 3 chunks +5 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_window_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +6 lines, -6 lines 0 comments Download
M ui/ozone/platform/egltest/ozone_platform_egltest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -2 lines 0 comments Download
M ui/platform_window/android/platform_window_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +5 lines, -3 lines 0 comments Download
M ui/views/controls/textfield/textfield.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/mus/window_manager_connection.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -1 line 0 comments Download
M win8/metro_driver/chrome_app_view_ash.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 65 (25 generated)
danakj
Good change I missed a build target still but please have a look. sky: everything ...
5 years, 2 months ago (2015-09-29 00:31:09 UTC) #1
danakj
On 2015/09/29 00:31:09, danakj wrote: > Good change I missed a build target still but ...
5 years, 2 months ago (2015-09-29 00:31:35 UTC) #2
danakj
On 2015/09/29 00:31:09, danakj wrote: > Good change I missed a build target still but ...
5 years, 2 months ago (2015-09-29 00:40:55 UTC) #3
vmpstr
cc lgtm with optional nit https://codereview.chromium.org/1372253002/diff/60001/cc/layers/delegated_renderer_layer_impl_unittest.cc File cc/layers/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/1372253002/diff/60001/cc/layers/delegated_renderer_layer_impl_unittest.cc#newcode1157 cc/layers/delegated_renderer_layer_impl_unittest.cc:1157: gfx::Size clip_size(23, 21); It's ...
5 years, 2 months ago (2015-09-29 05:04:27 UTC) #4
sky
I looked at a handful of the changes, and most were because LocatedEvent::set_location takes a ...
5 years, 2 months ago (2015-09-29 16:27:37 UTC) #6
danakj
On 2015/09/29 16:27:37, sky wrote: > I looked at a handful of the changes, and ...
5 years, 2 months ago (2015-10-12 17:29:00 UTC) #7
danakj
https://codereview.chromium.org/1372253002/diff/60001/cc/layers/delegated_renderer_layer_impl_unittest.cc File cc/layers/delegated_renderer_layer_impl_unittest.cc (right): https://codereview.chromium.org/1372253002/diff/60001/cc/layers/delegated_renderer_layer_impl_unittest.cc#newcode1157 cc/layers/delegated_renderer_layer_impl_unittest.cc:1157: gfx::Size clip_size(23, 21); On 2015/09/29 05:04:26, vmpstr wrote: > ...
5 years, 2 months ago (2015-10-12 17:32:01 UTC) #8
sky
On 2015/10/12 17:29:00, danakj wrote: > On 2015/09/29 16:27:37, sky wrote: > > I looked ...
5 years, 2 months ago (2015-10-12 19:12:09 UTC) #9
danakj
On Mon, Oct 12, 2015 at 12:12 PM, <sky@chromium.org> wrote: > On 2015/10/12 17:29:00, danakj ...
5 years, 2 months ago (2015-10-12 20:47:02 UTC) #10
danakj
+the real sadrul
5 years, 2 months ago (2015-10-12 20:56:32 UTC) #12
sky
On Mon, Oct 12, 2015 at 1:46 PM, Dana Jansens <danakj@chromium.org> wrote: > On Mon, ...
5 years, 2 months ago (2015-10-12 23:37:10 UTC) #13
sadrul
Would it make sense to allow implicit Point -> PointF conversion in tests? Would that ...
5 years, 2 months ago (2015-10-13 21:25:01 UTC) #14
danakj
On Tue, Oct 13, 2015 at 2:25 PM, <sadrul@chromium.org> wrote: > Would it make sense ...
5 years, 2 months ago (2015-10-13 21:59:01 UTC) #15
danakj
On 2015/10/12 23:37:10, sky wrote: > > kk I'll give that a go. The sad ...
5 years, 2 months ago (2015-10-20 20:45:35 UTC) #16
danakj
On 2015/10/20 20:45:35, danakj wrote: > On 2015/10/12 23:37:10, sky wrote: > > > kk ...
5 years, 2 months ago (2015-10-20 20:53:48 UTC) #17
sky
On 2015/10/20 20:53:48, danakj wrote: > On 2015/10/20 20:45:35, danakj wrote: > > On 2015/10/12 ...
5 years, 2 months ago (2015-10-23 15:31:20 UTC) #21
sky
In fact I'll go so far as to say the floating point ones are the ...
5 years, 2 months ago (2015-10-23 16:03:31 UTC) #22
danakj
On Fri, Oct 23, 2015 at 9:03 AM, Scott Violet <sky@chromium.org> wrote: > In fact ...
5 years, 2 months ago (2015-10-23 18:33:52 UTC) #23
sky
*SIGH* you are right. My main gripe is we're adding all this complexity for the ...
5 years, 2 months ago (2015-10-23 20:43:29 UTC) #25
danakj
On Fri, Oct 23, 2015 at 1:43 PM, Scott Violet <sky@chromium.org> wrote: > *SIGH* you ...
5 years, 2 months ago (2015-10-23 20:57:22 UTC) #26
danakj
PTAL
5 years, 1 month ago (2015-10-30 20:31:24 UTC) #27
danakj
Added some more changes for browser tests
5 years, 1 month ago (2015-10-30 21:22:44 UTC) #28
sky
This is mildly confusing, but I think it's the best option given the state of ...
5 years, 1 month ago (2015-10-30 22:20:44 UTC) #29
danakj
https://codereview.chromium.org/1372253002/diff/430001/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/1372253002/diff/430001/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode505 ui/aura/gestures/gesture_recognizer_unittest.cc:505: float x_start, On 2015/10/30 22:20:44, sky wrote: > AFAICT ...
5 years, 1 month ago (2015-10-30 22:39:46 UTC) #30
danakj
+grt for win8/ +sievers for content/
5 years, 1 month ago (2015-10-30 22:47:14 UTC) #32
no sievers
content lgtm
5 years, 1 month ago (2015-10-30 22:54:21 UTC) #33
danakj
https://codereview.chromium.org/1372253002/diff/470001/ui/ozone/platform/drm/host/drm_cursor.cc File ui/ozone/platform/drm/host/drm_cursor.cc (right): https://codereview.chromium.org/1372253002/diff/470001/ui/ozone/platform/drm/host/drm_cursor.cc#newcode61 ui/ozone/platform/drm/host/drm_cursor.cc:61: SetCursorLocationLocked(gfx::PointF(cursor_confined_bounds.CenterPoint())); +dnicoara@chromium.org It's not obvious to me that cursor ...
5 years, 1 month ago (2015-10-30 23:25:55 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372253002/510001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372253002/510001
5 years, 1 month ago (2015-10-31 00:27:02 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/73848)
5 years, 1 month ago (2015-10-31 00:47:49 UTC) #40
grt (UTC plus 2)
win8 lgtm
5 years, 1 month ago (2015-10-31 13:02:31 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372253002/530001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372253002/530001
5 years, 1 month ago (2015-11-02 18:59:17 UTC) #47
commit-bot: I haz the power
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/82803)
5 years, 1 month ago (2015-11-02 19:16:47 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372253002/550001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372253002/550001
5 years, 1 month ago (2015-11-02 19:36:36 UTC) #52
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/74278)
5 years, 1 month ago (2015-11-02 20:23:05 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372253002/570001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372253002/570001
5 years, 1 month ago (2015-11-02 21:00:30 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/134754)
5 years, 1 month ago (2015-11-02 21:25:57 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372253002/590001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372253002/590001
5 years, 1 month ago (2015-11-02 21:34:31 UTC) #62
danakj
On Mon, Nov 2, 2015 at 1:25 PM, commit-bot@chromium.org via codereview.chromium.org <reply@chromiumcodereview-hr.appspotmail.com> wrote: > Try ...
5 years, 1 month ago (2015-11-02 21:36:57 UTC) #63
commit-bot: I haz the power
Committed patchset #27 (id:590001)
5 years, 1 month ago (2015-11-02 22:52:44 UTC) #64
commit-bot: I haz the power
5 years, 1 month ago (2015-11-02 22:53:53 UTC) #65
Message was sent while issue was closed.
Patchset 27 (id:??) landed as
https://crrev.com/089746fb7612de40d86dcb5f440a45b4d8164e95
Cr-Commit-Position: refs/heads/master@{#357460}

Powered by Google App Engine
This is Rietveld 408576698