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

Side by Side Diff: ash/test/launcher_view_test_api.h

Issue 22291003: ash:Shelf Update Alternate Layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nl Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_TEST_LAUNCHER_VIEW_TEST_API_H_ 5 #ifndef ASH_TEST_LAUNCHER_VIEW_TEST_API_H_
6 #define ASH_TEST_LAUNCHER_VIEW_TEST_API_H_ 6 #define ASH_TEST_LAUNCHER_VIEW_TEST_API_H_
7 7
8 #include "ash/launcher/launcher_types.h"
8 #include "base/basictypes.h" 9 #include "base/basictypes.h"
9 10
10 namespace gfx { 11 namespace gfx {
11 class Rect; 12 class Rect;
12 } 13 }
13 14
14 namespace ash { 15 namespace ash {
15 16
16 namespace internal { 17 namespace internal {
17 class LauncherButton; 18 class LauncherButton;
(...skipping 29 matching lines...) Expand all
47 48
48 // Sets animation duration in milliseconds for test. 49 // Sets animation duration in milliseconds for test.
49 void SetAnimationDuration(int duration_ms); 50 void SetAnimationDuration(int duration_ms);
50 51
51 // Runs message loop and waits until all add/remove animations are done. 52 // Runs message loop and waits until all add/remove animations are done.
52 void RunMessageLoopUntilAnimationsDone(); 53 void RunMessageLoopUntilAnimationsDone();
53 54
54 // An accessor for |launcher_view|. 55 // An accessor for |launcher_view|.
55 internal::LauncherView* launcher_view() { return launcher_view_; } 56 internal::LauncherView* launcher_view() { return launcher_view_; }
56 57
58 // Wrapper for LauncherView::SameDragType.
59 bool SameDragType(LauncherItemType typea, LauncherItemType typeb) const;
60
57 private: 61 private:
58 internal::LauncherView* launcher_view_; 62 internal::LauncherView* launcher_view_;
59 63
60 DISALLOW_COPY_AND_ASSIGN(LauncherViewTestAPI); 64 DISALLOW_COPY_AND_ASSIGN(LauncherViewTestAPI);
61 }; 65 };
62 66
63 } // namespace test 67 } // namespace test
64 } // namespace ash 68 } // namespace ash
65 69
66 #endif // ASH_TEST_LAUNCHER_VIEW_TEST_API_H_ 70 #endif // ASH_TEST_LAUNCHER_VIEW_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/system/web_notification/web_notification_tray.cc ('k') | ash/test/launcher_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698