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

Side by Side Diff: content/public/test/content_browser_test_utils.h

Issue 214823006: Move ContentBrowserTest class to content/public, since it's used by components_browsertests for bro… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: remove other files Created 6 years, 9 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 CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_H_ 5 #ifndef CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_UTILS_H_
6 #define CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_H_ 6 #define CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_UTILS_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace base { 12 namespace base {
13 class FilePath; 13 class FilePath;
14 } 14 }
15 15
16 namespace gfx { 16 namespace gfx {
17 class Rect; 17 class Rect;
18 } 18 }
19 19
20 // A collections of functions designed for use with content_browsertests. 20 // A collections of functions designed for use with content_shell based browser
21 // tests.
21 // Note: if a function here also works with browser_tests, it should be in 22 // Note: if a function here also works with browser_tests, it should be in
22 // content\public\test\browser_test_utils.h 23 // content\public\test\browser_test_utils.h
23 24
24 namespace content { 25 namespace content {
25 26
26 class MessageLoopRunner; 27 class MessageLoopRunner;
27 class Shell; 28 class Shell;
28 29
29 // Generate the file path for testing a particular test. 30 // Generate the file path for testing a particular test.
30 // The file for the tests is all located in 31 // The file for the tests is all located in
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 71
71 DISALLOW_COPY_AND_ASSIGN(ShellAddedObserver); 72 DISALLOW_COPY_AND_ASSIGN(ShellAddedObserver);
72 }; 73 };
73 74
74 #if defined OS_MACOSX 75 #if defined OS_MACOSX
75 void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds); 76 void SetWindowBounds(gfx::NativeWindow window, const gfx::Rect& bounds);
76 #endif 77 #endif
77 78
78 } // namespace content 79 } // namespace content
79 80
80 #endif // CONTENT_TEST_CONTENT_BROWSER_TEST_UTILS_H_ 81 #endif // CONTENT_PUBLIC_TEST_CONTENT_BROWSER_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « content/public/test/content_browser_test.cc ('k') | content/public/test/content_browser_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698