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

Issue 380813003: Remove remaining overrides of View::HitTestRect() (Closed)

Created:
6 years, 5 months ago by tdanderson
Modified:
6 years, 5 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tdanderson+views_chromium.org, sadrul, tfarina, kalyank, ben+views_chromium.org, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

Remove remaining overrides of View::HitTestRect() Remove the remaining overrides of View::HitTestRect() and instead implement View::ViewTargeterDelegate::DoesIntersectRect(). Make View::HitTestRect() non-virtual. BUG=388838 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283312

Patch Set 1 #

Patch Set 2 : compiler warning #

Patch Set 3 : only call SetEventTargeter() where necessary #

Patch Set 4 : ToT rebase #

Patch Set 5 : rebase against ToT #

Total comments: 2

Patch Set 6 : DoesIntersectRect() overrides made private #

Unified diffs Side-by-side diffs Delta from patch set Stats (+227 lines, -156 lines) Patch
M ash/frame/custom_frame_view_ash.h View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M ash/frame/custom_frame_view_ash.cc View 1 2 3 4 5 6 chunks +29 lines, -10 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.h View 1 2 3 4 5 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc View 1 2 3 4 5 2 chunks +30 lines, -26 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.h View 1 2 3 4 5 2 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 3 4 5 2 chunks +12 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.h View 1 2 3 4 5 3 chunks +11 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 3 4 5 2 chunks +44 lines, -41 lines 0 comments Download
M chrome/browser/ui/views/profiles/avatar_menu_button.h View 1 2 3 4 5 4 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/profiles/avatar_menu_button.cc View 1 2 3 4 5 4 chunks +12 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.h View 1 2 3 4 5 6 chunks +17 lines, -13 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 2 3 4 5 4 chunks +18 lines, -10 lines 0 comments Download
M ui/views/view.h View 1 2 3 4 1 chunk +4 lines, -6 lines 0 comments Download
M ui/views/view.cc View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ui/views/window/non_client_view.h View 1 2 3 4 5 4 chunks +8 lines, -3 lines 0 comments Download
M ui/views/window/non_client_view.cc View 1 2 3 4 5 3 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tdanderson
Scott and Sadrul, Here is the last CL needed in order to accomplish the goal ...
6 years, 5 months ago (2014-07-14 14:56:45 UTC) #1
sadrul
LGTM On 2014/07/14 14:56:45, tdanderson wrote: > Scott and Sadrul, > > Here is the ...
6 years, 5 months ago (2014-07-14 16:44:14 UTC) #2
tdanderson
On 2014/07/14 16:44:14, sadrul wrote: > LGTM > > On 2014/07/14 14:56:45, tdanderson wrote: > ...
6 years, 5 months ago (2014-07-14 17:28:42 UTC) #3
tdanderson
https://codereview.chromium.org/380813003/diff/80001/ui/views/window/non_client_view.cc File ui/views/window/non_client_view.cc (right): https://codereview.chromium.org/380813003/diff/80001/ui/views/window/non_client_view.cc#newcode333 ui/views/window/non_client_view.cc:333: // Terry - the right place for this? On ...
6 years, 5 months ago (2014-07-14 17:28:58 UTC) #4
tdanderson
Scott, can you please take a look?
6 years, 5 months ago (2014-07-15 20:18:02 UTC) #5
sky
Sorry, didn't realize you were waiting for me too: LGTM
6 years, 5 months ago (2014-07-15 20:50:24 UTC) #6
tdanderson
The CQ bit was checked by tdanderson@chromium.org
6 years, 5 months ago (2014-07-15 20:52:05 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdanderson@chromium.org/380813003/100001
6 years, 5 months ago (2014-07-15 20:54:26 UTC) #8
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 01:00:15 UTC) #9
Message was sent while issue was closed.
Change committed as 283312

Powered by Google App Engine
This is Rietveld 408576698