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

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

Issue 12319151: WebKit IDL roll. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « third_party/WebCore/page/Console.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 50ce43bcccbac5d3111f849bf8f4e546ddff1758..2e21da9e8b1a8cbf7b2b093736430bba4afdd0c4 100644
--- a/third_party/WebCore/page/DOMWindow.idl
+++ b/third_party/WebCore/page/DOMWindow.idl
@@ -74,8 +74,8 @@
in DOMString name,
in [Optional] DOMString options);
- [Custom] DOMObject showModalDialog(in DOMString url,
- in [Optional] DOMObject dialogArgs,
+ [Custom] any showModalDialog(in DOMString url,
+ in [Optional] any dialogArgs,
in [Optional] DOMString featureArgs);
void alert(in [Optional=DefaultIsUndefined] DOMString message);
@@ -180,9 +180,7 @@
// cross-document messaging
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin)
- raises(DOMException);
- [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin, in Array messagePorts)
+ [DoNotCheckSecurity, Custom] void postMessage(in SerializedScriptValue message, in DOMString targetOrigin, in [Optional] Array messagePorts)
raises(DOMException);
#else
// There's no good way to expose an array via the ObjC bindings, so for now just allow passing in a single port.
@@ -219,6 +217,8 @@
DOMString btoa(in [TreatNullAs=NullString,Optional=DefaultIsUndefined] DOMString string)
raises(DOMException);
+ attribute [Replaceable,Conditional=CSS3_CONDITIONAL_RULES] DOMWindowCSS CSS;
+
// Events
attribute EventListener onabort;
attribute EventListener onbeforeunload;
@@ -397,7 +397,7 @@
attribute NotationConstructor Notation;
attribute EntityConstructor Entity;
attribute EntityReferenceConstructor EntityReference;
- [Conditional=CANVAS_PATH] attribute DOMPathConstructor Path;
+ [Conditional=CANVAS_PATH, V8EnabledAtRuntime=canvasPath] attribute DOMPathConstructor Path;
attribute ProcessingInstructionConstructor ProcessingInstruction;
[Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute ShadowRootConstructor WebKitShadowRoot;
[Conditional=SHADOW_DOM, V8EnabledAtRuntime=shadowDOM] attribute HTMLContentElementConstructor HTMLContentElement;
@@ -508,8 +508,6 @@
[Conditional=VIDEO, V8EnabledAtRuntime] attribute HTMLSourceElementConstructor HTMLSourceElement;
[Conditional=VIDEO, V8EnabledAtRuntime] attribute MediaControllerConstructor MediaController;
- [Conditional=WEB_INTENTS_TAG] attribute HTMLIntentElementConstructor HTMLIntentElement;
-
attribute CanvasPatternConstructor CanvasPattern;
attribute CanvasGradientConstructor CanvasGradient;
attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D;
@@ -799,7 +797,8 @@
[Conditional=BLOB] attribute DOMURLConstructor URL;
[Conditional=BLOB] attribute DOMURLConstructor webkitURL; // FIXME: deprecate this.
- attribute MutationObserverConstructor WebKitMutationObserver;
+ attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this.
+ attribute MutationObserverConstructor MutationObserver;
[Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute MediaSourceConstructor WebKitMediaSource;
[Conditional=MEDIA_SOURCE, V8EnabledAtRuntime=mediaSource] attribute SourceBufferConstructor WebKitSourceBuffer;
« no previous file with comments | « third_party/WebCore/page/Console.idl ('k') | third_party/WebCore/page/Location.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698