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

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

Issue 357203003: Move webpreferences.* from webkit/ to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
6 #define CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ 6 #define CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
7 7
8 #include "content/public/common/page_transition_types.h" 8 #include "content/public/common/page_transition_types.h"
9 9
10 class GURL; 10 class GURL;
11 struct WebPreferences;
12 11
13 namespace content { 12 namespace content {
14 13
15 class BrowserContext; 14 class BrowserContext;
16 struct Referrer;
17 class RenderViewHost; 15 class RenderViewHost;
18 class SiteInstance; 16 class SiteInstance;
19 class WebContents; 17 class WebContents;
18 struct Referrer;
19 struct WebPreferences;
20 20
21 // This interface allows embedders of content/ to write tests that depend on a 21 // This interface allows embedders of content/ to write tests that depend on a
22 // test version of WebContents. This interface can be retrieved from any 22 // test version of WebContents. This interface can be retrieved from any
23 // WebContents that was retrieved via a call to 23 // WebContents that was retrieved via a call to
24 // RenderViewHostTestHarness::GetWebContents() (directly or indirectly) or 24 // RenderViewHostTestHarness::GetWebContents() (directly or indirectly) or
25 // constructed explicitly via CreateTestWebContents. 25 // constructed explicitly via CreateTestWebContents.
26 // 26 //
27 // Tests within content/ can directly static_cast WebContents objects retrieved 27 // Tests within content/ can directly static_cast WebContents objects retrieved
28 // or created as described above to TestWebContents. 28 // or created as described above to TestWebContents.
29 // 29 //
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 const Referrer& referrer, 86 const Referrer& referrer,
87 PageTransition transition) = 0; 87 PageTransition transition) = 0;
88 88
89 // Promote GetWebkitPrefs to public. 89 // Promote GetWebkitPrefs to public.
90 virtual WebPreferences TestGetWebkitPrefs() = 0; 90 virtual WebPreferences TestGetWebkitPrefs() = 0;
91 }; 91 };
92 92
93 } // namespace content 93 } // namespace content
94 94
95 #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ 95 #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698