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

Issue 97173003: ash: Rename more Launcher classes to Shelf*. (Closed)

Created:
7 years ago by tfarina
Modified:
7 years ago
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Visibility:
Public.

Description

ash: Rename more Launcher classes to Shelf*. * Rename LauncherItemDelegate to ShelfItemDelegate. * Move launcher_item_delegate.h from launcher/ to shelf/ * Rename to shelf_item_delegate.h * Rename TestLauncherItemDelegate to TestShelfItemDelegate. * Move test_launcher_item_delegate.* from launcher/ to shelf/ * Rename to test_shelf_item_delegate.* * Rename LauncherItemDelegateManager to ShelfItemDelegateManager. * Move launcher_item_delegate_manager.* from launcher/ to shelf/ * Rename to shelf_item_delegate_manager.* * Rename LauncherItemDelegateManagerTestAPI to ShelfItemDelegateManagerTestAPI. * Move launcher_item_delegate_manager_test_api.* from launcher/ to shelf/ * Rename to shelf_item_delegate_manager_test_api.* * Rename WindowWatcherLauncherItemDelegate to WindowWatcherShelfItemDelegate. * Move window_watcher_launcher_item_delegate.* from launcher/ to shelf/ * Rename to window_watcher_shelf_item_delegate.* * Rename LauncherMenuModel to ShelfMenuModel. * Host it into its own header file named shelf_menu_model.h BUG=248353 TEST=None, no functional changes R=jamescook@chromium.org,harrym@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238696

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : more #

Patch Set 4 : more #

Patch Set 5 : #

Patch Set 6 : shelf_item_delegate.h #

Patch Set 7 : shelf_item_delegate.h #

Patch Set 8 : c/b/ui/ash/ #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : progressing #

Patch Set 12 : ash_unittests link #

Patch Set 13 : similarity 30 #

Patch Set 14 : similarity 30 #

Total comments: 2

Patch Set 15 : ShelfMenuModel #

Patch Set 16 : fixes and add shelf_menu_model.h #

Patch Set 17 : link chrome #

Unified diffs Side-by-side diffs Delta from patch set Stats (+357 lines, -860 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +18 lines, -17 lines 0 comments Download
M ash/launcher/launcher.cc View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -6 lines 0 comments Download
D ash/launcher/launcher_item_delegate.h View 1 2 3 4 5 1 chunk +0 lines, -79 lines 0 comments Download
D ash/launcher/launcher_item_delegate_manager.h View 1 chunk +0 lines, -69 lines 0 comments Download
D ash/launcher/launcher_item_delegate_manager.cc View 1 chunk +0 lines, -74 lines 0 comments Download
M ash/launcher/launcher_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +10 lines, -10 lines 0 comments Download
M ash/shelf/app_list_shelf_item_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -7 lines 0 comments Download
M ash/shelf/app_list_shelf_item_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -2 lines 0 comments Download
A + ash/shelf/shelf_item_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +9 lines, -22 lines 0 comments Download
A + ash/shelf/shelf_item_delegate_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +23 lines, -25 lines 0 comments Download
A + ash/shelf/shelf_item_delegate_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +22 lines, -24 lines 0 comments Download
A ash/shelf/shelf_menu_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +29 lines, -0 lines 0 comments Download
M ash/shelf/shelf_view.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M ash/shelf/shelf_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 18 chunks +42 lines, -48 lines 0 comments Download
M ash/shelf/shelf_view_unittest.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +12 lines, -14 lines 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -5 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +11 lines, -12 lines 0 comments Download
M ash/shell/window_watcher.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -7 lines 0 comments Download
M ash/shell/window_watcher_launcher_item_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -44 lines 0 comments Download
D ash/shell/window_watcher_launcher_item_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -59 lines 0 comments Download
A + ash/shell/window_watcher_shelf_item_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +15 lines, -17 lines 0 comments Download
A + ash/shell/window_watcher_shelf_item_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +14 lines, -16 lines 0 comments Download
D ash/test/launcher_item_delegate_manager_test_api.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
M ash/test/launcher_item_delegate_manager_test_api.cc View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
A + ash/test/shelf_item_delegate_manager_test_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +11 lines, -12 lines 0 comments Download
A + ash/test/shelf_item_delegate_manager_test_api.cc View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -7 lines 0 comments Download
M ash/test/test_launcher_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +13 lines, -15 lines 0 comments Download
M ash/test/test_launcher_item_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -44 lines 0 comments Download
D ash/test/test_launcher_item_delegate.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -53 lines 0 comments Download
A + ash/test/test_shelf_item_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +12 lines, -14 lines 0 comments Download
A + ash/test/test_shelf_item_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +11 lines, -12 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.h View 1 2 3 4 5 6 7 5 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 6 7 8 chunks +13 lines, -13 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 13 chunks +30 lines, -34 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_item_controller.h View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tfarina
7 years ago (2013-11-30 16:01:58 UTC) #1
tfarina
7 years ago (2013-11-30 16:01:58 UTC) #2
Harry McCleave
One quick question brought on by multiple class definitions in same header. Also this patch ...
7 years ago (2013-12-02 18:35:53 UTC) #3
tfarina
https://codereview.chromium.org/97173003/diff/19/ash/shelf/shelf_item_delegate.h File ash/shelf/shelf_item_delegate.h (right): https://codereview.chromium.org/97173003/diff/19/ash/shelf/shelf_item_delegate.h#newcode19 ash/shelf/shelf_item_delegate.h:19: class ASH_EXPORT LauncherMenuModel : public ui::SimpleMenuModel { Glad you ...
7 years ago (2013-12-02 18:41:31 UTC) #4
tfarina
I made the changes. James, could you review (rubber stamp) this to me? Thank you ...
7 years ago (2013-12-03 23:36:24 UTC) #5
James Cook
On 2013/12/03 23:36:24, tfarina wrote: > I made the changes. > > James, could you ...
7 years ago (2013-12-03 23:44:24 UTC) #6
tfarina
On 2013/12/03 23:44:24, James Cook wrote: > I don't see shelf_menu_model.h - did the upload ...
7 years ago (2013-12-04 00:24:02 UTC) #7
James Cook
LGTM. Thanks again for working on this massive rename.
7 years ago (2013-12-04 00:50:55 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/97173003/220001
7 years ago (2013-12-04 12:10:01 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-04 13:52:50 UTC) #10
Message was sent while issue was closed.
Change committed as 238696

Powered by Google App Engine
This is Rietveld 408576698