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

Issue 11784034: Skeleton for app_list on OSX, and refactoring for enable_app_list=1 on OS=="mac". (Closed)

Created:
7 years, 11 months ago by tapted
Modified:
7 years, 11 months ago
Reviewers:
xiyuan, sail, sky
CC:
chromium-reviews, tfarina, sadrul, sail+watch_chromium.org, ben+watch_chromium.org, benwells, koz (OOO until 15th September), jeremya
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Skeleton for app_list on OSX, and refactoring for enable_app_list=1 on OS=="mac". Moves ui/app_list code specific to toolkit-views to ui/app_list/views. Update gyp[i], include guards, #includes for moved files. Seed chrome/browser/ui/cocoa/app_list and ui/app_list/cocoa with a skeleton Cocoa UI. BUG=138633 TEST=Mostly build changes. Functionality of AppLauncher on ChromeOS and Windows should be unchanged. On OSX, without chrome running, `Chromium.app/Contents/MacOS/Chromium --show-app-list` should show a borderless gray window for 1 second (note: this is for testing only -- OSX needs a different approach for IPC). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176042

Patch Set 1 : move delegates back #

Patch Set 2 : style tweaks #

Total comments: 21

Patch Set 3 : adds cocoa unittest, controller browser test; address reviewer comments #

Patch Set 4 : do not do Init (create windows shortcuts, etc) #

Patch Set 5 : disable AppListControllerBrowserTest.ShowAndShutdown on Windows for now #

Total comments: 8

Patch Set 6 : remove dead code #

Total comments: 2

Patch Set 7 : protected in test #

Patch Set 8 : rebase for 175876 and 175961 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -4238 lines) Patch
M ash/wm/app_list_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 1 chunk +8 lines, -4 lines 0 comments Download
A chrome/browser/ui/app_list/app_list_controller_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/browser/ui/cocoa/app_list/app_list_controller_cocoa.mm View 1 2 3 4 5 6 7 1 chunk +74 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/app_list/app_list_controller_win.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M ui/app_list/app_list.gyp View 1 2 3 chunks +63 lines, -27 lines 0 comments Download
D ui/app_list/app_list_background.h View 1 chunk +0 lines, -37 lines 0 comments Download
D ui/app_list/app_list_background.cc View 1 chunk +0 lines, -75 lines 0 comments Download
D ui/app_list/app_list_item_view.h View 1 chunk +0 lines, -115 lines 0 comments Download
D ui/app_list/app_list_item_view.cc View 1 chunk +0 lines, -344 lines 0 comments Download
D ui/app_list/app_list_view.h View 1 chunk +0 lines, -118 lines 0 comments Download
D ui/app_list/app_list_view.cc View 1 chunk +0 lines, -306 lines 0 comments Download
D ui/app_list/apps_grid_view.h View 1 chunk +0 lines, -227 lines 0 comments Download
D ui/app_list/apps_grid_view.cc View 1 chunk +0 lines, -793 lines 0 comments Download
D ui/app_list/apps_grid_view_unittest.cc View 1 chunk +0 lines, -395 lines 0 comments Download
A ui/app_list/cocoa/app_list_view_window.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A ui/app_list/cocoa/app_list_view_window.mm View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
A ui/app_list/cocoa/app_list_view_window_unittest.mm View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
D ui/app_list/contents_view.h View 1 chunk +0 lines, -74 lines 0 comments Download
D ui/app_list/contents_view.cc View 1 chunk +0 lines, -236 lines 0 comments Download
D ui/app_list/page_switcher.h View 1 chunk +0 lines, -60 lines 0 comments Download
D ui/app_list/page_switcher.cc View 1 chunk +0 lines, -270 lines 0 comments Download
D ui/app_list/pulsing_block_view.h View 1 chunk +0 lines, -40 lines 0 comments Download
D ui/app_list/pulsing_block_view.cc View 1 chunk +0 lines, -106 lines 0 comments Download
D ui/app_list/search_box_view.h View 1 chunk +0 lines, -80 lines 0 comments Download
D ui/app_list/search_box_view.cc View 1 chunk +0 lines, -154 lines 0 comments Download
D ui/app_list/search_result_list_view.h View 1 chunk +0 lines, -76 lines 0 comments Download
D ui/app_list/search_result_list_view.cc View 1 chunk +0 lines, -165 lines 0 comments Download
D ui/app_list/search_result_view.h View 1 chunk +0 lines, -88 lines 0 comments Download
D ui/app_list/search_result_view.cc View 1 chunk +0 lines, -309 lines 0 comments Download
D ui/app_list/test/apps_grid_view_test_api.h View 1 chunk +0 lines, -40 lines 0 comments Download
D ui/app_list/test/apps_grid_view_test_api.cc View 1 chunk +0 lines, -33 lines 0 comments Download
A + ui/app_list/views/app_list_background.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/app_list_background.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ui/app_list/views/app_list_item_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/app_list_item_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/app_list/views/app_list_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/app_list_view.cc View 1 chunk +5 lines, -5 lines 0 comments Download
A + ui/app_list/views/apps_grid_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/apps_grid_view.cc View 1 chunk +4 lines, -4 lines 0 comments Download
A + ui/app_list/views/apps_grid_view_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/contents_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/contents_view.cc View 1 chunk +4 lines, -4 lines 0 comments Download
A + ui/app_list/views/page_switcher.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/page_switcher.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ui/app_list/views/pulsing_block_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/pulsing_block_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/app_list/views/search_box_view.h View 2 chunks +4 lines, -5 lines 0 comments Download
A + ui/app_list/views/search_box_view.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ui/app_list/views/search_result_list_view.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/search_result_list_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/app_list/views/search_result_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/search_result_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/app_list/views/test/apps_grid_view_test_api.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/app_list/views/test/apps_grid_view_test_api.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
tapted
@xiyuan for ui/app_list @sky for - ash/ - c/b/ui/views - c/chrome_browser_ui.gypi - (general file layout) ...
7 years, 11 months ago (2013-01-08 05:28:55 UTC) #1
sail
Hi tapted, your cocoa changes look great. This looks like a good start. We'll also ...
7 years, 11 months ago (2013-01-08 07:25:26 UTC) #2
sail
https://codereview.chromium.org/11784034/diff/8003/ui/app_list/cocoa/app_list_view.h File ui/app_list/cocoa/app_list_view.h (right): https://codereview.chromium.org/11784034/diff/8003/ui/app_list/cocoa/app_list_view.h#newcode7 ui/app_list/cocoa/app_list_view.h:7: @interface AppListView : NSWindow { On 2013/01/08 07:25:27, sail ...
7 years, 11 months ago (2013-01-08 07:41:12 UTC) #3
xiyuan
ui/app_list LGTM with nits I am all for to have a /ui/app_list/cocoa/OWNERS file and have ...
7 years, 11 months ago (2013-01-08 17:09:37 UTC) #4
xiyuan
https://codereview.chromium.org/11784034/diff/8003/ui/app_list/app_list.gyp File ui/app_list/app_list.gyp (right): https://codereview.chromium.org/11784034/diff/8003/ui/app_list/app_list.gyp#newcode113 ui/app_list/app_list.gyp:113: 'views/test/apps_grid_view_test_api.h', On 2013/01/08 17:09:37, xiyuan wrote: > sort the ...
7 years, 11 months ago (2013-01-08 17:10:37 UTC) #5
sky
LGTM
7 years, 11 months ago (2013-01-08 19:08:18 UTC) #6
tapted
On 2013/01/08 07:25:26, sail wrote: > We'll also need a unit test or a browser ...
7 years, 11 months ago (2013-01-09 04:29:49 UTC) #7
tapted
On 2013/01/09 04:29:49, tapted wrote: > In the meantime, I've fired off a few bots ...
7 years, 11 months ago (2013-01-09 08:15:58 UTC) #8
xiyuan
On 2013/01/09 08:15:58, tapted wrote: > On 2013/01/09 04:29:49, tapted wrote: > > In the ...
7 years, 11 months ago (2013-01-09 17:33:45 UTC) #9
sail
https://codereview.chromium.org/11784034/diff/28004/chrome/browser/ui/app_list/app_list_controller_browsertest.cc File chrome/browser/ui/app_list/app_list_controller_browsertest.cc (right): https://codereview.chromium.org/11784034/diff/28004/chrome/browser/ui/app_list/app_list_controller_browsertest.cc#newcode27 chrome/browser/ui/app_list/app_list_controller_browsertest.cc:27: app_list_controller::ShowAppList(); I think this should be a platform specific ...
7 years, 11 months ago (2013-01-09 22:09:53 UTC) #10
benwells
https://codereview.chromium.org/11784034/diff/28004/chrome/browser/ui/app_list/app_list_controller_browsertest.cc File chrome/browser/ui/app_list/app_list_controller_browsertest.cc (right): https://codereview.chromium.org/11784034/diff/28004/chrome/browser/ui/app_list/app_list_controller_browsertest.cc#newcode27 chrome/browser/ui/app_list/app_list_controller_browsertest.cc:27: app_list_controller::ShowAppList(); On 2013/01/09 22:09:53, sail wrote: > I think ...
7 years, 11 months ago (2013-01-09 23:35:46 UTC) #11
sail
On 2013/01/09 23:35:46, benwells wrote: > https://codereview.chromium.org/11784034/diff/28004/chrome/browser/ui/app_list/app_list_controller_browsertest.cc > File chrome/browser/ui/app_list/app_list_controller_browsertest.cc (right): > > https://codereview.chromium.org/11784034/diff/28004/chrome/browser/ui/app_list/app_list_controller_browsertest.cc#newcode27 > ...
7 years, 11 months ago (2013-01-09 23:38:38 UTC) #12
tapted
I'll need to wait for http://crrev.com/11834002 to land and hit lkgr (currently in the CQ), ...
7 years, 11 months ago (2013-01-10 00:07:35 UTC) #13
sail
LGTM! https://codereview.chromium.org/11784034/diff/39004/ui/app_list/cocoa/app_list_view_window_unittest.mm File ui/app_list/cocoa/app_list_view_window_unittest.mm (right): https://codereview.chromium.org/11784034/diff/39004/ui/app_list/cocoa/app_list_view_window_unittest.mm#newcode18 ui/app_list/cocoa/app_list_view_window_unittest.mm:18: scoped_nsobject<AppListViewWindow> window_; should be protected
7 years, 11 months ago (2013-01-10 00:12:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/11784034/34079
7 years, 11 months ago (2013-01-10 04:56:05 UTC) #15
tapted
Thanks! (lkgr has arrived.) https://chromiumcodereview.appspot.com/11784034/diff/39004/ui/app_list/cocoa/app_list_view_window_unittest.mm File ui/app_list/cocoa/app_list_view_window_unittest.mm (right): https://chromiumcodereview.appspot.com/11784034/diff/39004/ui/app_list/cocoa/app_list_view_window_unittest.mm#newcode18 ui/app_list/cocoa/app_list_view_window_unittest.mm:18: scoped_nsobject<AppListViewWindow> window_; On 2013/01/10 00:12:49, ...
7 years, 11 months ago (2013-01-10 04:56:13 UTC) #16
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 07:33:14 UTC) #17
Message was sent while issue was closed.
Change committed as 176042

Powered by Google App Engine
This is Rietveld 408576698