Index: third_party/WebKit/Source/core/dom/StaticRange.idl |
diff --git a/third_party/WebKit/Source/core/dom/StaticRange.idl b/third_party/WebKit/Source/core/dom/StaticRange.idl |
index 5cc6feec5138b51cf948536d1fcb463a2eda9b7c..5583f4dde33be10fc70eb8699e73a0603740f5af 100644 |
--- a/third_party/WebKit/Source/core/dom/StaticRange.idl |
+++ b/third_party/WebKit/Source/core/dom/StaticRange.idl |
@@ -10,14 +10,14 @@ |
Exposed=Window, |
RuntimeEnabled=InputEvent, |
] interface StaticRange { |
- attribute Node startContainer; |
- attribute unsigned long startOffset; |
- attribute Node endContainer; |
- attribute unsigned long endOffset; |
+ readonly attribute Node startContainer; |
+ readonly attribute unsigned long startOffset; |
+ readonly attribute Node endContainer; |
+ readonly attribute unsigned long endOffset; |
readonly attribute boolean collapsed; |
- void setStart(Node node, unsigned long offset); |
- void setEnd(Node node, unsigned long offset); |
- |
- [NewObject, RaisesException] Range toRange(); |
+ // TODO(chongz): Add back when the spec becomes stable. |
+ // void setStart(Node node, unsigned long offset); |
+ // void setEnd(Node node, unsigned long offset); |
+ // [NewObject, RaisesException] Range toRange(); |
}; |