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

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

Issue 9307062: Do not use setDartFlags API as we're now passing flags by other means. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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/renderer/render_process_impl.cc ('k') | webkit/glue/webkit_glue.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 19 matching lines...) Expand all
30 30
31 namespace WebKit { 31 namespace WebKit {
32 class WebFrame; 32 class WebFrame;
33 class WebString; 33 class WebString;
34 } 34 }
35 35
36 namespace webkit_glue { 36 namespace webkit_glue {
37 37
38 WEBKIT_GLUE_EXPORT void SetJavaScriptFlags(const std::string& flags); 38 WEBKIT_GLUE_EXPORT void SetJavaScriptFlags(const std::string& flags);
39 39
40 WEBKIT_GLUE_EXPORT void SetDartFlags(const std::string& flags);
41
42 // Turn on logging for flags in the provided comma delimited list. 40 // Turn on logging for flags in the provided comma delimited list.
43 WEBKIT_GLUE_EXPORT void EnableWebCoreLogChannels(const std::string& channels); 41 WEBKIT_GLUE_EXPORT void EnableWebCoreLogChannels(const std::string& channels);
44 42
45 // Returns the text of the document element. 43 // Returns the text of the document element.
46 WEBKIT_GLUE_EXPORT string16 DumpDocumentText(WebKit::WebFrame* web_frame); 44 WEBKIT_GLUE_EXPORT string16 DumpDocumentText(WebKit::WebFrame* web_frame);
47 45
48 // Returns the text of the document element and optionally its child frames. 46 // Returns the text of the document element and optionally its child frames.
49 // If recursive is false, this is equivalent to DumpDocumentText followed by 47 // If recursive is false, this is equivalent to DumpDocumentText followed by
50 // a newline. If recursive is true, it recursively dumps all frames as text. 48 // a newline. If recursive is true, it recursively dumps all frames as text.
51 string16 DumpFramesAsText(WebKit::WebFrame* web_frame, bool recursive); 49 string16 DumpFramesAsText(WebKit::WebFrame* web_frame, bool recursive);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Returns WebKit Web Inspector protocol version. 145 // Returns WebKit Web Inspector protocol version.
148 std::string GetInspectorProtocolVersion(); 146 std::string GetInspectorProtocolVersion();
149 147
150 // Tells caller whether the given protocol version is supported by the. 148 // Tells caller whether the given protocol version is supported by the.
151 WEBKIT_GLUE_EXPORT bool IsInspectorProtocolVersionSupported( 149 WEBKIT_GLUE_EXPORT bool IsInspectorProtocolVersionSupported(
152 const std::string& version); 150 const std::string& version);
153 151
154 } // namespace webkit_glue 152 } // namespace webkit_glue
155 153
156 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 154 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_process_impl.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698