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

Side by Side Diff: third_party/WebKit/Source/core/dom/Range.idl

Issue 2869803003: Change from ClientRect to DOMRect.
Patch Set: Change from ClientRect to DOMRect. Created 3 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 [RaisesException] boolean intersectsNode(Node node); 61 [RaisesException] boolean intersectsNode(Node node);
62 62
63 stringifier; 63 stringifier;
64 64
65 // CSSOM View Module 65 // CSSOM View Module
66 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-range-interface 66 // https://dev.w3.org/csswg/cssom-view/#extensions-to-the-range-interface
67 // FIXME: getClientRect() and getBoundingClientRect() should 67 // FIXME: getClientRect() and getBoundingClientRect() should
68 // return DOMRectList and DOMRect respectively. 68 // return DOMRectList and DOMRect respectively.
69 ClientRectList getClientRects(); 69 ClientRectList getClientRects();
70 ClientRect getBoundingClientRect(); 70 DOMRect getBoundingClientRect();
71 71
72 // DOM Parsing and Serialization 72 // DOM Parsing and Serialization
73 // https://w3c.github.io/DOM-Parsing/#extensions-to-the-range-interface 73 // https://w3c.github.io/DOM-Parsing/#extensions-to-the-range-interface
74 [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFr agment createContextualFragment(DOMString fragment); 74 [NewObject, RaisesException, CEReactions, CustomElementCallbacks] DocumentFr agment createContextualFragment(DOMString fragment);
75 75
76 // Non-standard API 76 // Non-standard API
77 [RaisesException, DeprecateAs=RangeExpand] void expand([Default=Undefined] o ptional DOMString unit); 77 [RaisesException, DeprecateAs=RangeExpand] void expand([Default=Undefined] o ptional DOMString unit);
78 }; 78 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/ResizeObserverEntry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698