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

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

Issue 293001: Delete glue/webview{_delegate}.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « webkit/glue/webframeloaderclient_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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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)
11 #include <windows.h> 11 #include <windows.h>
12 #endif 12 #endif
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "app/clipboard/clipboard.h" 17 #include "app/clipboard/clipboard.h"
18 #include "base/file_path.h" 18 #include "base/file_path.h"
19 #include "base/string16.h" 19 #include "base/string16.h"
20 #include "webkit/api/public/WebCanvas.h" 20 #include "webkit/api/public/WebCanvas.h"
21 21
22 class GURL; 22 class GURL;
23 class SkBitmap; 23 class SkBitmap;
24 class WebView;
25 struct WebPluginInfo; 24 struct WebPluginInfo;
26 25
27 namespace base { 26 namespace base {
28 class StringPiece; 27 class StringPiece;
29 } 28 }
30 29
31 namespace skia { 30 namespace skia {
32 class PlatformCanvas; 31 class PlatformCanvas;
33 } 32 }
34 33
35 namespace WebKit { 34 namespace WebKit {
36 class WebFrame; 35 class WebFrame;
37 class WebString; 36 class WebString;
37 class WebView;
38 } 38 }
39 39
40 namespace webkit_glue { 40 namespace webkit_glue {
41 41
42 42
43 //---- BEGIN FUNCTIONS IMPLEMENTED BY WEBKIT/GLUE ----------------------------- 43 //---- BEGIN FUNCTIONS IMPLEMENTED BY WEBKIT/GLUE -----------------------------
44 44
45 void SetJavaScriptFlags(const std::wstring& flags); 45 void SetJavaScriptFlags(const std::wstring& flags);
46 46
47 // Turn on the logging for notImplemented() calls from WebCore. 47 // Turn on the logging for notImplemented() calls from WebCore.
(...skipping 12 matching lines...) Expand all
60 60
61 // Returns a dump of the scroll position of the webframe. 61 // Returns a dump of the scroll position of the webframe.
62 std::wstring DumpFrameScrollPosition(WebKit::WebFrame* web_frame, bool recursive ); 62 std::wstring DumpFrameScrollPosition(WebKit::WebFrame* web_frame, bool recursive );
63 63
64 // Returns a dump of the given history state suitable for implementing the 64 // Returns a dump of the given history state suitable for implementing the
65 // dumpBackForwardList command of the layoutTestController. 65 // dumpBackForwardList command of the layoutTestController.
66 std::wstring DumpHistoryState(const std::string& history_state, int indent, 66 std::wstring DumpHistoryState(const std::string& history_state, int indent,
67 bool is_current); 67 bool is_current);
68 68
69 // Cleans up state left over from the previous test run. 69 // Cleans up state left over from the previous test run.
70 void ResetBeforeTestRun(WebView* view); 70 void ResetBeforeTestRun(WebKit::WebView* view);
71 71
72 // Returns the WebKit version (major.minor). 72 // Returns the WebKit version (major.minor).
73 std::string GetWebKitVersion(); 73 std::string GetWebKitVersion();
74 74
75 // Called to override the default user agent with a custom one. Call this 75 // Called to override the default user agent with a custom one. Call this
76 // before anyone actually asks for the user agent in order to prevent 76 // before anyone actually asks for the user agent in order to prevent
77 // inconsistent behavior. 77 // inconsistent behavior.
78 void SetUserAgent(const std::string& new_user_agent); 78 void SetUserAgent(const std::string& new_user_agent);
79 79
80 // Returns the user agent to use for the given URL, which is usually the 80 // Returns the user agent to use for the given URL, which is usually the
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 // Enable or disable the disk cache. Used for debugging. 233 // Enable or disable the disk cache. Used for debugging.
234 void SetCacheMode(bool enabled); 234 void SetCacheMode(bool enabled);
235 235
236 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- 236 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER ---------------------------------
237 237
238 238
239 } // namespace webkit_glue 239 } // namespace webkit_glue
240 240
241 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 241 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webframeloaderclient_impl.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698