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

Unified Diff: third_party/WebCore/dom/Document.idl

Issue 10590003: Roll IDL to multivm@615 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/dom/DOMStringList.idl ('k') | third_party/WebCore/dom/Element.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebCore/dom/Document.idl
diff --git a/third_party/WebCore/dom/Document.idl b/third_party/WebCore/dom/Document.idl
index 91334be82ed9ff741283a8a6395b54832071fccf..7c1c4839c2928702e7320817af74d6346c7430e2 100644
--- a/third_party/WebCore/dom/Document.idl
+++ b/third_party/WebCore/dom/Document.idl
@@ -75,7 +75,15 @@ module core {
Node adoptNode(in [Optional=DefaultIsUndefined] Node source)
raises (DOMException);
+#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
+ // document.documentURI was writable in DOM3 Core, but is read-only in DOM4
+ // (see http://www.w3.org/TR/2011/WD-dom-20110915/#document). We need to keep
+ // the writable version around for Objective C clients, but are moving to
+ // read-only for other clients.
attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString documentURI;
+#else
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString documentURI;
+#endif
// DOM Level 2 Events (DocumentEvents interface)
@@ -257,6 +265,9 @@ module core {
[V8EnabledAtRuntime] void webkitExitFullscreen();
#endif
+ [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] void webkitExitPointerLock();
+ readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] Element webkitPointerLockElement;
+
#if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS
WebKitNamedFlow webkitGetFlowByName(in DOMString name);
#endif
@@ -334,8 +345,8 @@ module core {
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] EventListener ontouchcancel;
attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange;
attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror;
- attribute [NotEnumerable, Conditional=POINTER_LOCK] EventListener onwebkitpointerlockchange;
- attribute [NotEnumerable, Conditional=POINTER_LOCK] EventListener onwebkitpointerlockerror;
+ attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] EventListener onwebkitpointerlockchange;
+ attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] EventListener onwebkitpointerlockerror;
#endif
#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
« no previous file with comments | « third_party/WebCore/dom/DOMStringList.idl ('k') | third_party/WebCore/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698