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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h

Issue 120313002: Use stub GL draw/clear calls for browser tests that do not need pixels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: stubgl: use_osmesa Created 6 years, 11 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 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 15 matching lines...) Expand all
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 virtual ~TabDragControllerTest();
35 35
36 virtual void SetUp() OVERRIDE;
37
38 // Cover for TabStrip::StopAnimating(true). 36 // Cover for TabStrip::StopAnimating(true).
39 void StopAnimating(TabStrip* tab_strip); 37 void StopAnimating(TabStrip* tab_strip);
40 38
41 // 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
42 // the tabs in |browser|. 40 // the tabs in |browser|.
43 void AddTabAndResetBrowser(Browser* browser); 41 void AddTabAndResetBrowser(Browser* browser);
44 42
45 // 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
46 // side by side. 44 // side by side.
47 Browser* CreateAnotherWindowBrowserAndRelayout(); 45 Browser* CreateAnotherWindowBrowserAndRelayout();
(...skipping 21 matching lines...) Expand all
69 // 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| ...
70 void ResetIDs(TabStripModel* model, int start); 68 void ResetIDs(TabStripModel* model, int start);
71 69
72 // 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
73 // is separated by a space. 71 // is separated by a space.
74 std::string IDString(TabStripModel* model); 72 std::string IDString(TabStripModel* model);
75 73
76 } // namespace test 74 } // namespace test
77 75
78 #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 _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698