OLD | NEW |
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 CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 namespace views { | 25 namespace views { |
26 class View; | 26 class View; |
27 } | 27 } |
28 | 28 |
29 // TabDragControllerTest is the basis for the two tests that exercise | 29 // TabDragControllerTest is the basis for the two tests that exercise |
30 // TabDragController. | 30 // TabDragController. |
31 class TabDragControllerTest : public InProcessBrowserTest { | 31 class TabDragControllerTest : public InProcessBrowserTest { |
32 public: | 32 public: |
33 TabDragControllerTest(); | 33 TabDragControllerTest(); |
34 virtual ~TabDragControllerTest(); | 34 ~TabDragControllerTest() override; |
35 | 35 |
36 // Cover for TabStrip::StopAnimating(true). | 36 // Cover for TabStrip::StopAnimating(true). |
37 void StopAnimating(TabStrip* tab_strip); | 37 void StopAnimating(TabStrip* tab_strip); |
38 | 38 |
39 // Adds a new blank tab to |browser|, stops animations and resets the ids of | 39 // Adds a new blank tab to |browser|, stops animations and resets the ids of |
40 // the tabs in |browser|. | 40 // the tabs in |browser|. |
41 void AddTabAndResetBrowser(Browser* browser); | 41 void AddTabAndResetBrowser(Browser* browser); |
42 | 42 |
43 // Creates a new Browser and resizes |browser()| and the new browser to be | 43 // Creates a new Browser and resizes |browser()| and the new browser to be |
44 // side by side. | 44 // side by side. |
(...skipping 22 matching lines...) Expand all Loading... |
67 // id of the first tab is set to |start|, the second tab |start + 1| ... | 67 // id of the first tab is set to |start|, the second tab |start + 1| ... |
68 void ResetIDs(TabStripModel* model, int start); | 68 void ResetIDs(TabStripModel* model, int start); |
69 | 69 |
70 // Returns a string representation of the ids of the tabs in |model|. Each id | 70 // Returns a string representation of the ids of the tabs in |model|. Each id |
71 // is separated by a space. | 71 // is separated by a space. |
72 std::string IDString(TabStripModel* model); | 72 std::string IDString(TabStripModel* model); |
73 | 73 |
74 } // namespace test | 74 } // namespace test |
75 | 75 |
76 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H
_ | 76 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H
_ |
OLD | NEW |