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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc

Issue 97173003: ash: Rename more Launcher classes to Shelf*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: link chrome Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
index cc0815fa16f980954be1c2c061fb0af1434f1c86..8d73c1904ffc4a641a5e30bdbc6a2472489a7252 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_browsertest.cc
@@ -153,9 +153,8 @@ class LauncherPlatformAppBrowserTest
// Returns the number of menu items, ignoring separators.
int GetNumApplicationMenuItems(const ash::LauncherItem& item) {
const int event_flags = 0;
- scoped_ptr<ash::LauncherMenuModel> menu(
- new LauncherApplicationMenuItemModel(
- controller_->GetApplicationList(item, event_flags)));
+ scoped_ptr<ash::ShelfMenuModel> menu(new LauncherApplicationMenuItemModel(
+ controller_->GetApplicationList(item, event_flags)));
int num_items = 0;
for (int i = 0; i < menu->GetItemCount(); ++i) {
if (menu->GetTypeAt(i) != ui::MenuModel::TYPE_SEPARATOR)

Powered by Google App Engine
This is Rietveld 408576698