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

Issue 2525113002: Rename WindowTreeHost functions to indicate pixels/dips. (Closed)

Created:
4 years ago by riajiang
Modified:
4 years ago
Reviewers:
James Cook, sadrul, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, tfarina, shuchen+watch_chromium.org, jam, dcheng, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, James Su
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename WindowTreeHost functions to indicate pixels/dips. BUG=664212 TEST=covered by tests Committed: https://crrev.com/8077b13220db6deab5e931e9917e93c870c69a7c Cr-Commit-Position: refs/heads/master@{#435106}

Patch Set 1 #

Total comments: 2

Patch Set 2 : pixels #

Patch Set 3 : DIP + rebase #

Total comments: 3

Patch Set 4 : remove host + extensions + rebase #

Patch Set 5 : win #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -180 lines) Patch
M ash/autoclick/autoclick_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/display/cursor_window_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/display/cursor_window_controller_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/display/display_util.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M ash/display/extended_mouse_warp_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/display/screen_position_controller.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M ash/display/unified_mouse_warp_controller_unittest.cc View 1 2 3 2 chunks +2 lines, -3 lines 0 comments Download
M ash/display/window_tree_host_manager.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M ash/host/ash_window_tree_host.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/host/ash_window_tree_host_platform.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ash/host/ash_window_tree_host_platform.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M ash/host/ash_window_tree_host_unified.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ash/host/ash_window_tree_host_x11.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ash/host/ash_window_tree_host_x11.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ash/host/transformer_helper.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/magnifier/magnification_controller.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ash/mus/non_client_frame_controller.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M extensions/shell/browser/shell_desktop_controller_aura.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/mus/drag_drop_controller_mus.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/event_generator_delegate_aura.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/test_screen.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/ui_controls_factory_aurax11.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/test/ui_controls_factory_ozone.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M ui/aura/test/x11_event_sender.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_event_dispatcher.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_tree_host.h View 1 2 3 7 chunks +23 lines, -21 lines 0 comments Download
M ui/aura/window_tree_host.cc View 1 2 3 8 chunks +40 lines, -34 lines 0 comments Download
M ui/aura/window_tree_host_observer.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/aura/window_tree_host_platform.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ui/aura/window_tree_host_platform.cc View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M ui/aura/window_tree_host_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_tree_host_x11.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ui/aura/window_tree_host_x11.cc View 1 2 3 4 chunks +11 lines, -10 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/chromeos/touch_exploration_controller.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/desktop_window_tree_host_mus.cc View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M ui/views/mus/drop_target_mus.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/mus_client.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/mus/native_widget_mus.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/mus/native_widget_mus.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ui/views/test/ui_controls_factory_desktop_aurax11.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_drop_target_win.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 3 1 chunk +5 lines, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc View 1 2 3 4 4 chunks +6 lines, -5 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 3 8 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
riajiang
Hi sadrul@ and sky@, PTAL. Thanks!
4 years ago (2016-11-23 22:18:07 UTC) #3
sky
https://codereview.chromium.org/2525113002/diff/20001/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h (right): https://codereview.chromium.org/2525113002/diff/20001/ui/aura/window_tree_host.h#newcode130 ui/aura/window_tree_host.h:130: void MoveCursorToHostLocationInPixel( You are patch uses Pixels. Please be ...
4 years ago (2016-11-23 23:04:48 UTC) #4
riajiang
https://codereview.chromium.org/2525113002/diff/20001/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h (right): https://codereview.chromium.org/2525113002/diff/20001/ui/aura/window_tree_host.h#newcode130 ui/aura/window_tree_host.h:130: void MoveCursorToHostLocationInPixel( On 2016/11/23 23:04:48, sky wrote: > You ...
4 years ago (2016-11-23 23:16:44 UTC) #5
sky
pixels everywhere, and as DIP can mean 'Device Independent Pixels' no DIPs. On Wed, Nov ...
4 years ago (2016-11-23 23:28:05 UTC) #6
riajiang
On 2016/11/23 23:28:05, sky wrote: > pixels everywhere, and as DIP can mean 'Device Independent ...
4 years ago (2016-11-24 16:54:08 UTC) #7
sky
Sorry, a couple more suggestions. If you agree, make sure Sadrul agrees. https://codereview.chromium.org/2525113002/diff/60001/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h ...
4 years ago (2016-11-26 17:09:54 UTC) #8
riajiang
On 2016/11/26 17:09:54, sky wrote: > Sorry, a couple more suggestions. If you agree, make ...
4 years ago (2016-11-29 16:53:19 UTC) #9
sky
LGTM - thanks for seeing this through!
4 years ago (2016-11-29 20:08:22 UTC) #14
riajiang
sadrul@, could you take a look at content/browser? +jamescook@, could you take a look at ...
4 years ago (2016-11-29 20:17:05 UTC) #16
sadrul
lgtm
4 years ago (2016-11-29 20:43:37 UTC) #17
James Cook
extensions/shell lgtm
4 years ago (2016-11-29 20:48:54 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2525113002/100001
4 years ago (2016-11-29 21:22:35 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years ago (2016-11-29 23:36:12 UTC) #22
commit-bot: I haz the power
4 years ago (2016-11-29 23:38:04 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8077b13220db6deab5e931e9917e93c870c69a7c
Cr-Commit-Position: refs/heads/master@{#435106}

Powered by Google App Engine
This is Rietveld 408576698