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

Unified Diff: ash/test/shelf_view_test_api.h

Issue 1097393002: Added Launcher_SwitchTask UMA user action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « ash/shelf/shelf_view_unittest.cc ('k') | ash/test/shelf_view_test_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/shelf_view_test_api.h
diff --git a/ash/test/shelf_view_test_api.h b/ash/test/shelf_view_test_api.h
index 7916ea766eea04b9731fa2ac592f4b998a6138e9..04e5d404b58ff17f3d15d8f35dcf04eb4c699d7b 100644
--- a/ash/test/shelf_view_test_api.h
+++ b/ash/test/shelf_view_test_api.h
@@ -5,6 +5,7 @@
#ifndef ASH_TEST_SHELF_VIEW_TEST_API_H_
#define ASH_TEST_SHELF_VIEW_TEST_API_H_
+#include "ash/shelf/shelf_item_delegate.h"
#include "ash/shelf/shelf_item_types.h"
#include "base/basictypes.h"
@@ -81,6 +82,14 @@ class ShelfViewTestAPI {
// Wrapper for ShelfView::ButtonPressed.
void ButtonPressed(views::Button* sender, const ui::Event& event);
+ // Wrapper for ShelfView::RecordIconActivatedSource(const ui::Event&).
+ void RecordIconActivatedSource(const ui::Event& event);
+
+ // Wrapper for ShelfView::RecordIconActivatedAction(
+ // ShelfItemDelegate::PerformedAction).
+ void RecordIconActivatedAction(
+ ShelfItemDelegate::PerformedAction performed_action);
+
// Wrapper for ShelfView::SameDragType.
bool SameDragType(ShelfItemType typea, ShelfItemType typeb) const;
« no previous file with comments | « ash/shelf/shelf_view_unittest.cc ('k') | ash/test/shelf_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698