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

Issue 178493003: aura: Make Window::HitTest() a private method. (Closed)

Created:
6 years, 10 months ago by sadrul
Modified:
6 years, 10 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, ben+aura_chromium.org, ben+ash_chromium.org, Ben Goodger (Google)
Visibility:
Public.

Description

aura: Make Window::HitTest() a private method. This is the first step towards removing Window::HitTest(), and related methods from WindowDelegate (and corresponding methods in views::WidgetDelegate). This is currently used only in a handful of places. This CL replaces those calls with equivalent code, and makes Window::HitTest() a private method, so that new code do not use it. BUG=318879 R=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253138

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -71 lines) Patch
M ash/wm/app_list_controller.cc View 2 chunks +6 lines, -10 lines 3 comments Download
M ash/wm/app_list_controller_unittest.cc View 2 chunks +48 lines, -0 lines 0 comments Download
M ash/wm/overview/window_overview.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/multi_window_resize_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window.h View 2 chunks +7 lines, -7 lines 0 comments Download
M ui/aura/window.cc View 2 chunks +16 lines, -16 lines 0 comments Download
M ui/aura/window_unittest.cc View 1 chunk +0 lines, -36 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sadrul
6 years, 10 months ago (2014-02-24 20:17:30 UTC) #1
sky
https://codereview.chromium.org/178493003/diff/1/ash/wm/app_list_controller.cc File ash/wm/app_list_controller.cc (right): https://codereview.chromium.org/178493003/diff/1/ash/wm/app_list_controller.cc#newcode313 ash/wm/app_list_controller.cc:313: aura::Window* window = view_->GetWidget()->GetNativeView(); Is the coordinate system here ...
6 years, 10 months ago (2014-02-24 21:04:38 UTC) #2
sadrul
https://codereview.chromium.org/178493003/diff/1/ash/wm/app_list_controller.cc File ash/wm/app_list_controller.cc (right): https://codereview.chromium.org/178493003/diff/1/ash/wm/app_list_controller.cc#newcode313 ash/wm/app_list_controller.cc:313: aura::Window* window = view_->GetWidget()->GetNativeView(); On 2014/02/24 21:04:38, sky wrote: ...
6 years, 10 months ago (2014-02-24 21:10:15 UTC) #3
sky
LGTM https://codereview.chromium.org/178493003/diff/1/ash/wm/app_list_controller.cc File ash/wm/app_list_controller.cc (right): https://codereview.chromium.org/178493003/diff/1/ash/wm/app_list_controller.cc#newcode313 ash/wm/app_list_controller.cc:313: aura::Window* window = view_->GetWidget()->GetNativeView(); On 2014/02/24 21:10:16, sadrul ...
6 years, 10 months ago (2014-02-24 21:11:38 UTC) #4
sadrul
6 years, 10 months ago (2014-02-25 12:47:26 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 manually as r253138 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698