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

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

Issue 40132: Refactor v8 extensions to make registration avoid having to use ChromiumBridg... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #endif 51 #endif
52 52
53 namespace webkit_glue { 53 namespace webkit_glue {
54 54
55 struct ScreenInfo; 55 struct ScreenInfo;
56 56
57 57
58 //---- BEGIN FUNCTIONS IMPLEMENTED BY WEBKIT/GLUE ----------------------------- 58 //---- BEGIN FUNCTIONS IMPLEMENTED BY WEBKIT/GLUE -----------------------------
59 59
60 void SetJavaScriptFlags(const std::wstring& flags); 60 void SetJavaScriptFlags(const std::wstring& flags);
61 void SetRecordPlaybackMode(bool value);
62 void SetShouldExposeGCController(bool enable);
63 61
64 // Turn on the logging for notImplemented() calls from WebCore. 62 // Turn on the logging for notImplemented() calls from WebCore.
65 void EnableWebCoreNotImplementedLogging(); 63 void EnableWebCoreNotImplementedLogging();
66 64
67 // Returns screen information corresponding to the given window. This is the 65 // Returns screen information corresponding to the given window. This is the
68 // default implementation. 66 // default implementation.
69 ScreenInfo GetScreenInfoHelper(gfx::NativeView window); 67 ScreenInfo GetScreenInfoHelper(gfx::NativeView window);
70 68
71 // Returns the text of the document element. 69 // Returns the text of the document element.
72 std::wstring DumpDocumentText(WebFrame* web_frame); 70 std::wstring DumpDocumentText(WebFrame* web_frame);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // Returns whether the given link hash is in the user's history. The hash must 254 // Returns whether the given link hash is in the user's history. The hash must
257 // have been generated by calling VisitedLinkHash(). 255 // have been generated by calling VisitedLinkHash().
258 bool IsLinkVisited(uint64 link_hash); 256 bool IsLinkVisited(uint64 link_hash);
259 257
260 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- 258 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER ---------------------------------
261 259
262 260
263 } // namespace webkit_glue 261 } // namespace webkit_glue
264 262
265 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 263 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698