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

Unified Diff: ash/test/shelf_view_test_api.h

Issue 492963008: Ash: Double-clicking on a shelf item now opens the item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 71853fdeebd1a3e453d25d5aa0d4430d8924dedd..7916ea766eea04b9731fa2ac592f4b998a6138e9 100644
--- a/ash/test/shelf_view_test_api.h
+++ b/ash/test/shelf_view_test_api.h
@@ -13,6 +13,14 @@ class Rect;
class Size;
}
+namespace ui {
+class Event;
+}
+
+namespace views {
+class Button;
+}
+
namespace ash {
class OverflowBubble;
class ShelfButton;
@@ -70,6 +78,9 @@ class ShelfViewTestAPI {
// Returns the button space size.
int GetButtonSpacing();
+ // Wrapper for ShelfView::ButtonPressed.
+ void ButtonPressed(views::Button* sender, const ui::Event& event);
+
// 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