| 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 "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "chrome/test/base/in_process_browser_test.h" | 11 #include "chrome/test/base/in_process_browser_test.h" |
| 12 | 12 |
| 13 class Browser; | 13 class Browser; |
| 14 class BrowserList; | 14 class BrowserList; |
| 15 class TabStrip; | 15 class TabStrip; |
| 16 class TabStripModel; | 16 class TabStripModel; |
| 17 class WindowFinder; | 17 class WindowFinder; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class WebContents; | 20 class WebContents; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace gfx { | |
| 24 class Point; | |
| 25 } | |
| 26 | |
| 27 namespace views { | |
| 28 class View; | |
| 29 } | |
| 30 | |
| 31 // TabDragControllerTest is the basis for the two tests that exercise | 23 // TabDragControllerTest is the basis for the two tests that exercise |
| 32 // TabDragController. | 24 // TabDragController. |
| 33 class TabDragControllerTest : public InProcessBrowserTest { | 25 class TabDragControllerTest : public InProcessBrowserTest { |
| 34 public: | 26 public: |
| 35 TabDragControllerTest(); | 27 TabDragControllerTest(); |
| 36 ~TabDragControllerTest() override; | 28 ~TabDragControllerTest() override; |
| 37 | 29 |
| 38 // Cover for TabStrip::StopAnimating(true). | 30 // Cover for TabStrip::StopAnimating(true). |
| 39 void StopAnimating(TabStrip* tab_strip); | 31 void StopAnimating(TabStrip* tab_strip); |
| 40 | 32 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 71 // id of the first tab is set to |start|, the second tab |start + 1| ... | 63 // id of the first tab is set to |start|, the second tab |start + 1| ... |
| 72 void ResetIDs(TabStripModel* model, int start); | 64 void ResetIDs(TabStripModel* model, int start); |
| 73 | 65 |
| 74 // Returns a string representation of the ids of the tabs in |model|. Each id | 66 // Returns a string representation of the ids of the tabs in |model|. Each id |
| 75 // is separated by a space. | 67 // is separated by a space. |
| 76 std::string IDString(TabStripModel* model); | 68 std::string IDString(TabStripModel* model); |
| 77 | 69 |
| 78 } // namespace test | 70 } // namespace test |
| 79 | 71 |
| 80 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H
_ | 72 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H
_ |
| OLD | NEW |