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

Unified Diff: ui/app_list/test/app_list_test_model.h

Issue 25859005: Elim ActivateAppListItem, ChromeAppListItem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fixes Created 7 years, 2 months 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
« no previous file with comments | « ui/app_list/cocoa/apps_grid_controller_unittest.mm ('k') | ui/app_list/test/app_list_test_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/test/app_list_test_model.h
diff --git a/ui/app_list/test/app_list_test_model.h b/ui/app_list/test/app_list_test_model.h
index decd907140303bc8dcf7fc928d106fa7c5154137..c0f9c0f7674158fb66ff9007421be55ceee9992b 100644
--- a/ui/app_list/test/app_list_test_model.h
+++ b/ui/app_list/test/app_list_test_model.h
@@ -42,7 +42,17 @@ class AppListTestModel : public AppListModel {
// Call SetHighlighted on the specified item.
void HighlightItemAt(int index);
+ int activate_count() { return activate_count_; }
+ AppListItemModel* last_activated() { return last_activated_; }
+
private:
+ class AppListTestItemModel;
+
+ void ItemActivated(AppListTestItemModel* item);
+
+ int activate_count_;
+ AppListItemModel* last_activated_;
+
DISALLOW_COPY_AND_ASSIGN(AppListTestModel);
};
« no previous file with comments | « ui/app_list/cocoa/apps_grid_controller_unittest.mm ('k') | ui/app_list/test/app_list_test_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698