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

Issue 68523017: ash: Add GetItemIndexForType() function to ShelfModel. (Closed)

Created:
7 years, 1 month ago by tfarina
Modified:
7 years, 1 month ago
Reviewers:
James Cook, simonhong_
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, simonhong_
Visibility:
Public.

Description

ash: Add GetItemIndexForType() function to ShelfModel. Now that this function is generic enough, there is no reason to not provide it directly from ShelfModel. See previous CLs: https://codereview.chromium.org/27369004 https://codereview.chromium.org/53513003 https://codereview.chromium.org/71653003 BUG=None TEST=None, no functional changes R=jamescook@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235641

Patch Set 1 #

Patch Set 2 : rm shelf_model_util.* #

Patch Set 3 : rm the includes #

Patch Set 4 : fix typo #

Total comments: 1

Patch Set 5 : dumb tfarina - model_ #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -57 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M ash/shelf/shelf_model.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ash/shelf/shelf_model.cc View 1 chunk +8 lines, -0 lines 0 comments Download
D ash/shelf/shelf_model_util.h View 1 1 chunk +0 lines, -25 lines 0 comments Download
D ash/shelf/shelf_model_util.cc View 1 1 chunk +0 lines, -20 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 2 chunks +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 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc View 1 2 3 4 5 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tfarina
Hi James, could you review this to me? Thanks!
7 years, 1 month ago (2013-11-15 14:00:53 UTC) #1
James Cook
LGTM. Thanks for cleaning this up -- it's a good day when a file is ...
7 years, 1 month ago (2013-11-15 20:38:19 UTC) #2
simonhong_
lgtm with nit. https://codereview.chromium.org/68523017/diff/160001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc (right): https://codereview.chromium.org/68523017/diff/160001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc#newcode270 chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc:270: return model->GetItemIndexForType(type); nit: model -> model_
7 years, 1 month ago (2013-11-15 23:36:27 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/68523017/230001
7 years, 1 month ago (2013-11-16 11:53:59 UTC) #4
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-11-16 11:54:03 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/68523017/320001
7 years, 1 month ago (2013-11-16 12:19:22 UTC) #6
commit-bot: I haz the power
7 years, 1 month ago (2013-11-18 06:16:15 UTC) #7
Message was sent while issue was closed.
Change committed as 235641

Powered by Google App Engine
This is Rietveld 408576698