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

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

Issue 22293003: Clean up compositor initialization/destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanupcompositor: UseRealGLBindings in NetInternalsTest 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 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
36 // Cover for TabStrip::StopAnimating(true). 38 // Cover for TabStrip::StopAnimating(true).
37 void StopAnimating(TabStrip* tab_strip); 39 void StopAnimating(TabStrip* tab_strip);
38 40
39 // Adds a new blank tab to |browser|, stops animations and resets the ids of 41 // Adds a new blank tab to |browser|, stops animations and resets the ids of
40 // the tabs in |browser|. 42 // the tabs in |browser|.
41 void AddTabAndResetBrowser(Browser* browser); 43 void AddTabAndResetBrowser(Browser* browser);
42 44
43 // Creates a new Browser and resizes |browser()| and the new browser to be 45 // Creates a new Browser and resizes |browser()| and the new browser to be
44 // side by side. 46 // side by side.
45 Browser* CreateAnotherWindowBrowserAndRelayout(); 47 Browser* CreateAnotherWindowBrowserAndRelayout();
(...skipping 18 matching lines...) Expand all
64 void SetID(content::WebContents* web_contents, int id); 66 void SetID(content::WebContents* web_contents, int id);
65 67
66 // Resets the ids of all the tabs in |model| starting at |start|. That is, the 68 // Resets the ids of all the tabs in |model| starting at |start|. That is, the
67 // id of the first tab is set to |start|, the second tab |start + 1| ... 69 // id of the first tab is set to |start|, the second tab |start + 1| ...
68 void ResetIDs(TabStripModel* model, int start); 70 void ResetIDs(TabStripModel* model, int start);
69 71
70 // Returns a string representation of the ids of the tabs in |model|. Each id 72 // Returns a string representation of the ids of the tabs in |model|. Each id
71 // is separated by a space. 73 // is separated by a space.
72 std::string IDString(TabStripModel* model); 74 std::string IDString(TabStripModel* model);
73 75
74 } 76 } // namespace test
75 77
76 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H _ 78 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_DRAG_CONTROLLER_INTERACTIVE_UITEST_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698