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

Unified Diff: webkit/port/bindings/v8/ScriptController.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, 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 side-by-side diff with in-line comments
Download patch
Index: webkit/port/bindings/v8/ScriptController.h
===================================================================
--- webkit/port/bindings/v8/ScriptController.h (revision 10914)
+++ webkit/port/bindings/v8/ScriptController.h (working copy)
@@ -211,29 +211,6 @@
static void gcProtectJSWrapper(void* object);
static void gcUnprotectJSWrapper(void* object);
- // Get/Set RecordPlaybackMode flag.
- // This is a special mode where JS helps the browser implement
- // playback/record mode. Generally, in this mode, some functions
- // of client-side randomness are removed. For example, in
- // this mode Math.random() and Date.getTime() may not return
- // values which vary.
- static bool RecordPlaybackMode() { return m_recordPlaybackMode; }
- static void setRecordPlaybackMode(bool value) { m_recordPlaybackMode = value; }
-
- // Set/Get ShouldExposeGCController flag.
- // Some WebKit layout test need window.GCController.collect() to
- // trigger GC, this flag lets the binding code expose
- // window.GCController.collect() to the JavaScript code.
- //
- // GCController.collect() needs V8 engine expose gc() function by passing
- // '--expose-gc' flag to the engine.
- static bool shouldExposeGCController() {
- return m_shouldExposeGCController;
- }
- static void setShouldExposeGCController(bool value) {
- m_shouldExposeGCController = value;
- }
-
void finishedWithEvent(Event*);
void setEventHandlerLineno(int lineno);
@@ -259,9 +236,6 @@
#endif
private:
- static bool m_recordPlaybackMode;
- static bool m_shouldExposeGCController;
-
Frame* m_frame;
const String* m_sourceURL;

Powered by Google App Engine
This is Rietveld 408576698