From 3632c58208e0dc2d93fd5450bcd9c731fecb555f Mon Sep 17 00:00:00 2001 From: "mbelshe@google.com" Date: Thu, 12 Feb 2009 17:03:48 +0000 Subject: Changes to unfork DOMWindow. * Unfork some of the DOMWindow.idl. Required small changes to the idl parser. * Move DOMWindow related functions from v8_custom.cpp into Webkit's V8DOMWindowCustom (see separate CL for the Webkit tree) * Moves timers from DOMWindow code into the Webkit DOMTimer code. * Removed a couple of junker methods (forward()/back()) from the IDL. I think they were not needed. NOTE: This is dependent on a webkit-tree change. Will roll deps in order to test this. Review URL: http://codereview.chromium.org/21262 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9657 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/port/bindings/v8/v8_custom.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'webkit/port/bindings/v8/v8_custom.h') diff --git a/webkit/port/bindings/v8/v8_custom.h b/webkit/port/bindings/v8/v8_custom.h index ea6c1da..a93c649 100644 --- a/webkit/port/bindings/v8/v8_custom.h +++ b/webkit/port/bindings/v8/v8_custom.h @@ -65,6 +65,7 @@ class Frame; class V8Proxy; class String; class HTMLCollection; +class DOMWindow; class V8Custom { public: @@ -287,6 +288,8 @@ DECLARE_CALLBACK(DOMWindowNOP) DECLARE_CALLBACK(DOMWindowToString) DECLARE_CALLBACK(DOMWindowShowModalDialog) DECLARE_CALLBACK(DOMWindowOpen) +DECLARE_CALLBACK(DOMWindowClearTimeout) +DECLARE_CALLBACK(DOMWindowClearInterval) DECLARE_CALLBACK(DOMParserConstructor) DECLARE_CALLBACK(MessageChannelConstructor) @@ -499,6 +502,8 @@ DECLARE_CALLBACK(WorkerContextRemoveEventListener) private: static v8::Handle WindowSetTimeoutImpl(const v8::Arguments& args, bool single_shot); + static void ClearTimeoutImpl(const v8::Arguments& args); + static void WindowSetLocation(DOMWindow*, const String&); }; } // namespace WebCore -- cgit v1.1