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

Unified Diff: sky/engine/core/editing/Selection.idl

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
Index: sky/engine/core/editing/Selection.idl
diff --git a/sky/engine/core/editing/Selection.idl b/sky/engine/core/editing/Selection.idl
index 53bb18bbd2c12afcba9ad470c01956f3173334db..cfb6a4bc9447a0513831308ce81f4a8e5bc17d38 100644
--- a/sky/engine/core/editing/Selection.idl
+++ b/sky/engine/core/editing/Selection.idl
@@ -65,29 +65,29 @@
// Firefox extensions
// https://developer.mozilla.org/En/DOM/Selection
//
- [MeasureAs=SelectionContainsNode] boolean containsNode([Default = Undefined] optional Node node, [Default = Undefined] optional boolean allowPartial);
+ boolean containsNode([Default = Undefined] optional Node node, [Default = Undefined] optional boolean allowPartial);
// WebKit extensions
- [MeasureAs=SelectionBaseNode] readonly attribute Node baseNode;
- [MeasureAs=SelectionBaseOffset] readonly attribute long baseOffset;
- [MeasureAs=SelectionExtentNode] readonly attribute Node extentNode;
- [MeasureAs=SelectionExtentOffset] readonly attribute long extentOffset;
+ readonly attribute Node baseNode;
+ readonly attribute long baseOffset;
+ readonly attribute Node extentNode;
+ readonly attribute long extentOffset;
// WebKit's "type" accessor returns "None", "Range" and "Caret"
// IE's type accessor returns "none", "text" and "control"
- [MeasureAs=SelectionType] readonly attribute DOMString type;
+ readonly attribute DOMString type;
- [MeasureAs=SelectionModify] void modify([Default=Undefined] optional DOMString alter,
+ void modify([Default=Undefined] optional DOMString alter,
[Default=Undefined] optional DOMString direction,
[Default=Undefined] optional DOMString granularity);
- [MeasureAs=SelectionSetBaseAndExtent, RaisesException] void setBaseAndExtent([Default=Undefined] optional Node baseNode,
+ [RaisesException] void setBaseAndExtent([Default=Undefined] optional Node baseNode,
[Default=Undefined] optional long baseOffset,
[Default=Undefined] optional Node extentNode,
[Default=Undefined] optional long extentOffset);
- [ImplementedAs=collapse, MeasureAs=SelectionSetPosition, RaisesException, TypeChecking=Interface] void setPosition(Node node,
+ [ImplementedAs=collapse, RaisesException, TypeChecking=Interface] void setPosition(Node node,
optional long offset = 0);
// IE extensions
// http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx
- [MeasureAs=SelectionEmpty] void empty();
+ void empty();
};
« no previous file with comments | « sky/engine/core/editing/ReplaceSelectionCommand.cpp ('k') | sky/engine/core/editing/SplitElementCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698