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

Unified Diff: third_party/WebCore/page/DOMWindow.idl

Issue 10983049: Roll IDL to multivm@910 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« no previous file with comments | « third_party/WebCore/html/canvas/CanvasRenderingContext2D.idl ('k') | third_party/WebCore/page/Location.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebCore/page/DOMWindow.idl
diff --git a/third_party/WebCore/page/DOMWindow.idl b/third_party/WebCore/page/DOMWindow.idl
index 2e0711cecef02ce1b35d4a1d8c7a45e52d9798be..9649aa9318c350bb410b29e0cd852470f34139f7 100644
--- a/third_party/WebCore/page/DOMWindow.idl
+++ b/third_party/WebCore/page/DOMWindow.idl
@@ -186,10 +186,13 @@ module window {
[DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin, in Array messagePorts)
raises(DOMException);
+#if defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
[DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptValue message, in DOMString targetOrigin)
raises(DOMException);
[DoNotCheckSecurity, Custom] void webkitPostMessage(in SerializedScriptValue message, in DOMString targetOrigin, in Array transferList)
raises(DOMException);
+#endif // defined(ENABLE_LEGACY_VENDOR_PREFIXES) && ENABLE_LEGACY_VENDOR_PREFIXES
+
#else
// There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
[DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in [Optional] MessagePort messagePort, in DOMString targetOrigin)
@@ -211,7 +214,7 @@ module window {
// [Custom] long setInterval(in DOMString code, in long timeout);
void clearInterval(in [Optional=DefaultIsUndefined] long handle);
-#if defined(ENABLE_REQUEST_ANIMATION_FRAME)
+#if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME
// WebKit animation extensions, being standardized in the WebPerf WG
long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCallback callback);
void webkitCancelAnimationFrame(in long id);
« no previous file with comments | « third_party/WebCore/html/canvas/CanvasRenderingContext2D.idl ('k') | third_party/WebCore/page/Location.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698