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

Side by Side Diff: Source/core/page/Selection.idl

Issue 14882009: Remove DOM prefix from several IDL interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/page/SecurityPolicy.idl ('k') | Source/core/scripts/name_macros.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Google Inc. All rights reserved. 3 * Copyright (C) 2009 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 12 matching lines...) Expand all
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 // This is based off of Mozilla's Selection interface 30 // This is based off of Mozilla's Selection interface
31 // https://developer.mozilla.org/En/DOM/Selection 31 // https://developer.mozilla.org/En/DOM/Selection
32 [ 32 [
33 InterfaceName=Selection 33 ImplementedAs=DOMSelection
34 ] interface DOMSelection { 34 ] interface Selection {
35 readonly attribute Node anchorNode; 35 readonly attribute Node anchorNode;
36 readonly attribute long anchorOffset; 36 readonly attribute long anchorOffset;
37 readonly attribute Node focusNode; 37 readonly attribute Node focusNode;
38 readonly attribute long focusOffset; 38 readonly attribute long focusOffset;
39 39
40 readonly attribute boolean isCollapsed; 40 readonly attribute boolean isCollapsed;
41 readonly attribute long rangeCount; 41 readonly attribute long rangeCount;
42 42
43 [RaisesException] void collapse([Default=Undefined] optional Node node, 43 [RaisesException] void collapse([Default=Undefined] optional Node node,
44 [Default=Undefined] optional long index); 44 [Default=Undefined] optional long index);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 [Default=Undefined] optional Node extentNode, 77 [Default=Undefined] optional Node extentNode,
78 [Default=Undefined] optional long extentOffset); 78 [Default=Undefined] optional long extentOffset);
79 [RaisesException] void setPosition([Default=Undefined] optional Node node, 79 [RaisesException] void setPosition([Default=Undefined] optional Node node,
80 [Default=Undefined] optional long offset); 80 [Default=Undefined] optional long offset);
81 81
82 // IE extentions 82 // IE extentions
83 // http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx 83 // http://msdn.microsoft.com/en-us/library/ms535869(VS.85).aspx
84 void empty(); 84 void empty();
85 }; 85 };
86 86
OLDNEW
« no previous file with comments | « Source/core/page/SecurityPolicy.idl ('k') | Source/core/scripts/name_macros.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698