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

Issue 1302233006: aura: Stop converting Rect to RectF implicitly. (Closed)

Created:
5 years, 3 months ago by danakj
Modified:
5 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, tdanderson+views_chromium.org, sadrul, tfarina, bondd+autofillwatch_chromium.org, estade+watch_chromium.org, kalyank, rouslan+autofillwatch_chromium.org, enne (OOO), piman, vmpstr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

aura: Stop converting Rect to RectF implicitly. This makes the conversions explicit, in the hopes of removing the ability to do implicit int->float gfx::Rect conversions. This patch hits the ui/ views/ aura/ ash/ directories. R=sky@chromium.org BUG=342848 Committed: https://crrev.com/335602bb0f8576a3439ed80df70fdd0b48ac3bf6 Cr-Commit-Position: refs/heads/master@{#346518}

Patch Set 1 #

Patch Set 2 : rectfconvert-aura: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -44 lines) Patch
M ash/rotator/screen_rotation_animator.cc View 3 chunks +15 lines, -9 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc View 3 chunks +11 lines, -18 lines 0 comments Download
M chrome/browser/ui/views/autofill/card_unmask_prompt_views.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/aura/test/test_screen.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/touch/selection_bound.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/geometry/dip_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/view.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/wm/core/image_grid.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/wm/core/window_animations.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (1 generated)
danakj
5 years, 3 months ago (2015-08-29 00:12:10 UTC) #1
danakj
(Also, do you think this is a good idea?)
5 years, 3 months ago (2015-08-29 00:12:20 UTC) #2
sky
int->float, for the most part, isn't lossy like float->int, so I'm not sure this is ...
5 years, 3 months ago (2015-08-29 16:29:54 UTC) #3
danakj
On Sat, Aug 29, 2015 at 9:29 AM, <sky@chromium.org> wrote: > int->float, for the most ...
5 years, 3 months ago (2015-08-31 20:06:57 UTC) #4
sky
On Mon, Aug 31, 2015 at 1:01 PM, Dana Jansens <danakj@chromium.org> wrote: > On Sat, ...
5 years, 3 months ago (2015-08-31 22:12:22 UTC) #5
sky
LGTM
5 years, 3 months ago (2015-08-31 22:15:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1302233006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1302233006/20001
5 years, 3 months ago (2015-08-31 22:16:56 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-08-31 23:35:10 UTC) #9
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 23:36:10 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/335602bb0f8576a3439ed80df70fdd0b48ac3bf6
Cr-Commit-Position: refs/heads/master@{#346518}

Powered by Google App Engine
This is Rietveld 408576698