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

Side by Side Diff: webkit/glue/webkit_glue.h

Issue 10827182: Rename layoutTestController to testRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 8 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
« no previous file with comments | « content/test/layout_browsertest.cc ('k') | webkit/support/simple_database_system.h » ('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 WEBKIT_GLUE_WEBKIT_GLUE_H_ 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // Returns the number of pages to be printed. 65 // Returns the number of pages to be printed.
66 int NumberOfPages(WebKit::WebFrame* web_frame, 66 int NumberOfPages(WebKit::WebFrame* web_frame,
67 float page_width_in_pixels, 67 float page_width_in_pixels,
68 float page_height_in_pixels); 68 float page_height_in_pixels);
69 69
70 // Returns a dump of the scroll position of the webframe. 70 // Returns a dump of the scroll position of the webframe.
71 string16 DumpFrameScrollPosition(WebKit::WebFrame* web_frame, bool recursive); 71 string16 DumpFrameScrollPosition(WebKit::WebFrame* web_frame, bool recursive);
72 72
73 // Returns a dump of the given history state suitable for implementing the 73 // Returns a dump of the given history state suitable for implementing the
74 // dumpBackForwardList command of the layoutTestController. 74 // dumpBackForwardList command of the testRunner.
75 WEBKIT_GLUE_EXPORT string16 DumpHistoryState(const std::string& history_state, 75 WEBKIT_GLUE_EXPORT string16 DumpHistoryState(const std::string& history_state,
76 int indent, 76 int indent,
77 bool is_current); 77 bool is_current);
78 78
79 // Sets the user agent. Pass true for overriding if this is a custom 79 // Sets the user agent. Pass true for overriding if this is a custom
80 // user agent instead of the default one (in order to turn off any browser 80 // user agent instead of the default one (in order to turn off any browser
81 // sniffing workarounds). This must be called before GetUserAgent() can 81 // sniffing workarounds). This must be called before GetUserAgent() can
82 // be called. 82 // be called.
83 WEBKIT_GLUE_EXPORT void SetUserAgent(const std::string& user_agent, 83 WEBKIT_GLUE_EXPORT void SetUserAgent(const std::string& user_agent,
84 bool overriding); 84 bool overriding);
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 WEBKIT_GLUE_EXPORT bool IsInspectorProtocolVersionSupported( 154 WEBKIT_GLUE_EXPORT bool IsInspectorProtocolVersionSupported(
155 const std::string& version); 155 const std::string& version);
156 156
157 // Configures the URLRequest according to the referrer policy. 157 // Configures the URLRequest according to the referrer policy.
158 WEBKIT_GLUE_EXPORT void ConfigureURLRequestForReferrerPolicy( 158 WEBKIT_GLUE_EXPORT void ConfigureURLRequestForReferrerPolicy(
159 net::URLRequest* request, WebKit::WebReferrerPolicy referrer_policy); 159 net::URLRequest* request, WebKit::WebReferrerPolicy referrer_policy);
160 160
161 } // namespace webkit_glue 161 } // namespace webkit_glue
162 162
163 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 163 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « content/test/layout_browsertest.cc ('k') | webkit/support/simple_database_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698