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

Issue 12763002: Move CrTrackingArea from chrome/browser/ui/cocoa to ui/base/cocoa. (Closed)

Created:
7 years, 9 months ago by tapted
Modified:
7 years, 9 months ago
Reviewers:
Nico
CC:
chromium-reviews, jennb, tfarina, Dmitry Titov, dcheng, sail+watch_chromium.org, jianli, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move CrTrackingArea from chrome/browser/ui/cocoa to ui/base/cocoa. This change moves tracking_area.h, its implementation and tests to ui/base so that Chrome components outside of the browser can use it. BUG=138633 TEST=No functional changes Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=187441

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2

Patch Set 3 : test in namespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -317 lines) Patch
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser/zoom_bubble_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/hover_button.h View 3 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/hover_button.mm View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/panels/panel_titlebar_view_cocoa.mm View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/toolbar/toolbar_controller.h View 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/ui/cocoa/tracking_area.h View 1 chunk +0 lines, -59 lines 0 comments Download
D chrome/browser/ui/cocoa/tracking_area.mm View 1 chunk +0 lines, -126 lines 0 comments Download
D chrome/browser/ui/cocoa/tracking_area_unittest.mm View 1 chunk +0 lines, -97 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
A + ui/base/cocoa/tracking_area.h View 3 chunks +9 lines, -4 lines 0 comments Download
A + ui/base/cocoa/tracking_area.mm View 3 chunks +5 lines, -1 line 0 comments Download
A + ui/base/cocoa/tracking_area_unittest.mm View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M ui/ui.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ui_unittests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tapted
Nico, could you please take a look at this refactoring CL for review and owners? ...
7 years, 9 months ago (2013-03-11 07:57:52 UTC) #1
tapted
Sorry - that published oddly because I used the "draft message" feature. Here's how it ...
7 years, 9 months ago (2013-03-11 09:42:30 UTC) #2
Nico
lgtm! https://codereview.chromium.org/12763002/diff/3001/ui/base/cocoa/tracking_area_unittest.mm File ui/base/cocoa/tracking_area_unittest.mm (right): https://codereview.chromium.org/12763002/diff/3001/ui/base/cocoa/tracking_area_unittest.mm#newcode25 ui/base/cocoa/tracking_area_unittest.mm:25: class CrTrackingAreaTest : public ui::CocoaTest { nit: Aren't ...
7 years, 9 months ago (2013-03-11 17:42:45 UTC) #3
tapted
Thanks! Also, heads up: there are presubmit warnings since tracking_area.mm needs to use NSTrackingArea (will ...
7 years, 9 months ago (2013-03-11 22:40:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/12763002/19002
7 years, 9 months ago (2013-03-11 22:43:25 UTC) #5
commit-bot: I haz the power
7 years, 9 months ago (2013-03-12 01:13:46 UTC) #6
Message was sent while issue was closed.
Change committed as 187441

Powered by Google App Engine
This is Rietveld 408576698