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

Side by Side Diff: chrome/test/base/ui_test_utils.h

Issue 10551002: TabContentsWrapper -> TabContents, part 56. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Not killing GetSelectedWebContents yet Created 8 years, 6 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
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_TEST_BASE_UI_TEST_UTILS_H_ 5 #ifndef CHROME_TEST_BASE_UI_TEST_UTILS_H_
6 #define CHROME_TEST_BASE_UI_TEST_UTILS_H_ 6 #define CHROME_TEST_BASE_UI_TEST_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <queue> 10 #include <queue>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class CommandLine; 45 class CommandLine;
46 class ExtensionAction; 46 class ExtensionAction;
47 class FilePath; 47 class FilePath;
48 class GURL; 48 class GURL;
49 class HistoryService; 49 class HistoryService;
50 class MessageLoop; 50 class MessageLoop;
51 class Profile; 51 class Profile;
52 class ScopedTempDir; 52 class ScopedTempDir;
53 class SkBitmap; 53 class SkBitmap;
54 class TabContents; 54 class TabContents;
55 typedef TabContents TabContentsWrapper;
56 class TemplateURLService; 55 class TemplateURLService;
57 56
58 namespace browser { 57 namespace browser {
59 struct NavigateParams; 58 struct NavigateParams;
60 } 59 }
61 60
62 namespace content { 61 namespace content {
63 class RenderViewHost; 62 class RenderViewHost;
64 class RenderWidgetHost; 63 class RenderWidgetHost;
65 class WebContents; 64 class WebContents;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 // Blocks until an application modal dialog is showns and returns it. 207 // Blocks until an application modal dialog is showns and returns it.
209 AppModalDialog* WaitForAppModalDialog(); 208 AppModalDialog* WaitForAppModalDialog();
210 void WaitForAppModalDialogAndCloseIt(); 209 void WaitForAppModalDialogAndCloseIt();
211 210
212 // Causes the specified tab to crash. Blocks until it is crashed. 211 // Causes the specified tab to crash. Blocks until it is crashed.
213 void CrashTab(content::WebContents* tab); 212 void CrashTab(content::WebContents* tab);
214 213
215 // Performs a find in the page of the specified tab. Returns the number of 214 // Performs a find in the page of the specified tab. Returns the number of
216 // matches found. |ordinal| is an optional parameter which is set to the index 215 // matches found. |ordinal| is an optional parameter which is set to the index
217 // of the current match. 216 // of the current match.
218 int FindInPage(TabContentsWrapper* tab, 217 int FindInPage(TabContents* tab,
219 const string16& search_string, 218 const string16& search_string,
220 bool forward, 219 bool forward,
221 bool case_sensitive, 220 bool case_sensitive,
222 int* ordinal); 221 int* ordinal);
223 222
224 // Simulates clicking at the center of the given tab asynchronously. Unlike 223 // Simulates clicking at the center of the given tab asynchronously. Unlike
225 // ClickOnView, this works even if the browser isn't in the foreground. 224 // ClickOnView, this works even if the browser isn't in the foreground.
226 void SimulateMouseClick(content::WebContents* tab); 225 void SimulateMouseClick(content::WebContents* tab);
227 226
228 // Simulates asynchronously a mouse enter/move/leave event. 227 // Simulates asynchronously a mouse enter/move/leave event.
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 // ui_controls_linux.cc and ui_controls_mac.cc 693 // ui_controls_linux.cc and ui_controls_mac.cc
695 void ClickTask(ui_controls::MouseButton button, 694 void ClickTask(ui_controls::MouseButton button,
696 int state, 695 int state,
697 const base::Closure& followup); 696 const base::Closure& followup);
698 697
699 } // namespace internal 698 } // namespace internal
700 699
701 } // namespace ui_test_utils 700 } // namespace ui_test_utils
702 701
703 #endif // CHROME_TEST_BASE_UI_TEST_UTILS_H_ 702 #endif // CHROME_TEST_BASE_UI_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698