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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 96
97 void selectColorInColorChooser(Element element, DOMString colorValue); 97 void selectColorInColorChooser(Element element, DOMString colorValue);
98 void endColorChooser(Element element); 98 void endColorChooser(Element element);
99 99
100 // If the argument is omitted, the top-level document is used. 100 // If the argument is omitted, the top-level document is used.
101 boolean hasAutofocusRequest(optional Document document); 101 boolean hasAutofocusRequest(optional Document document);
102 [RaisesException] sequence<DOMString> formControlStateOfHistoryItem(); 102 [RaisesException] sequence<DOMString> formControlStateOfHistoryItem();
103 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values); 103 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values);
104 readonly attribute Window pagePopupWindow; 104 readonly attribute Window pagePopupWindow;
105 105
106 [RaisesException] ClientRect absoluteCaretBounds(); 106 [RaisesException] DOMRect absoluteCaretBounds();
107 107
108 ClientRect boundingBox(Element element); 108 DOMRect boundingBox(Element element);
109 109
110 [RaisesException] void setMarker(Document document, Range range, DOMString m arkerType); 110 [RaisesException] void setMarker(Document document, Range range, DOMString m arkerType);
111 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType); 111 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType);
112 unsigned long activeMarkerCountForNode(Node node); 112 unsigned long activeMarkerCountForNode(Node node);
113 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index); 113 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index);
114 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index); 114 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index);
115 [RaisesException] void addTextMatchMarker(Range range, DOMString matchStatus ); 115 [RaisesException] void addTextMatchMarker(Range range, DOMString matchStatus );
116 [RaisesException] void addCompositionMarker(Range range, DOMString underline ColorValue, DOMString thicknessValue, DOMString backgroundColorValue); 116 [RaisesException] void addCompositionMarker(Range range, DOMString underline ColorValue, DOMString thicknessValue, DOMString backgroundColorValue);
117 [RaisesException] void addActiveSuggestionMarker(Range range, DOMString unde rlineColorValue, DOMString thicknessValue, DOMString backgroundColorValue); 117 [RaisesException] void addActiveSuggestionMarker(Range range, DOMString unde rlineColorValue, DOMString thicknessValue, DOMString backgroundColorValue);
118 void setTextMatchMarkersActive(Node node, unsigned long startOffset, unsigne d long endOffset, boolean active); 118 void setTextMatchMarkersActive(Node node, unsigned long startOffset, unsigne d long endOffset, boolean active);
(...skipping 14 matching lines...) Expand all
133 133
134 Range rangeFromLocationAndLength(Element scope, long rangeLocation, long ran geLength); 134 Range rangeFromLocationAndLength(Element scope, long rangeLocation, long ran geLength);
135 unsigned long locationFromRange(Element scope, Range range); 135 unsigned long locationFromRange(Element scope, Range range);
136 unsigned long lengthFromRange(Element scope, Range range); 136 unsigned long lengthFromRange(Element scope, Range range);
137 DOMString rangeAsText(Range range); 137 DOMString rangeAsText(Range range);
138 138
139 [RaisesException] DOMPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document); 139 [RaisesException] DOMPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
140 [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document document); 140 [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
141 [RaisesException] DOMPoint touchPositionAdjustedToBestContextMenuNode(long x , long y, long width, long height, Document document); 141 [RaisesException] DOMPoint touchPositionAdjustedToBestContextMenuNode(long x , long y, long width, long height, Document document);
142 [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y , long width, long height, Document document); 142 [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y , long width, long height, Document document);
143 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document); 143 [RaisesException] DOMRect bestZoomableAreaForTouchPoint(long x, long y, long width, long height, Document document);
144 144
145 [RaisesException] long lastSpellCheckRequestSequence(Document document); 145 [RaisesException] long lastSpellCheckRequestSequence(Document document);
146 [RaisesException] long lastSpellCheckProcessedSequence(Document document); 146 [RaisesException] long lastSpellCheckProcessedSequence(Document document);
147 [RuntimeEnabled=IdleTimeSpellChecking, RaisesException] DOMString idleTimeSp ellCheckerState(Document document); 147 [RuntimeEnabled=IdleTimeSpellChecking, RaisesException] DOMString idleTimeSp ellCheckerState(Document document);
148 [RuntimeEnabled=IdleTimeSpellChecking, RaisesException] void runIdleTimeSpel lChecker(Document document); 148 [RuntimeEnabled=IdleTimeSpellChecking, RaisesException] void runIdleTimeSpel lChecker(Document document);
149 149
150 sequence<DOMString> userPreferredLanguages(); 150 sequence<DOMString> userPreferredLanguages();
151 void setUserPreferredLanguages(sequence<DOMString> languages); 151 void setUserPreferredLanguages(sequence<DOMString> languages);
152 152
153 unsigned long mediaKeysCount(); 153 unsigned long mediaKeysCount();
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 DOMString selectMenuListText(HTMLSelectElement select); 284 DOMString selectMenuListText(HTMLSelectElement select);
285 boolean isSelectPopupVisible(Node node); 285 boolean isSelectPopupVisible(Node node);
286 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex); 286 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex);
287 long selectPopupItemStyleFontHeight(Node select, long itemIndex); 287 long selectPopupItemStyleFontHeight(Node select, long itemIndex);
288 void resetTypeAheadSession(HTMLSelectElement select); 288 void resetTypeAheadSession(HTMLSelectElement select);
289 289
290 readonly attribute Node? visibleSelectionAnchorNode; 290 readonly attribute Node? visibleSelectionAnchorNode;
291 readonly attribute unsigned long visibleSelectionAnchorOffset; 291 readonly attribute unsigned long visibleSelectionAnchorOffset;
292 readonly attribute Node? visibleSelectionFocusNode; 292 readonly attribute Node? visibleSelectionFocusNode;
293 readonly attribute unsigned long visibleSelectionFocusOffset; 293 readonly attribute unsigned long visibleSelectionFocusOffset;
294 [RaisesException] ClientRect selectionBounds(); 294 [RaisesException] DOMRect selectionBounds();
295 readonly attribute DOMString textAffinity; 295 readonly attribute DOMString textAffinity;
296 296
297 boolean loseSharedGraphicsContext3D(); 297 boolean loseSharedGraphicsContext3D();
298 298
299 [RaisesException] void forceCompositingUpdate(Document document); 299 [RaisesException] void forceCompositingUpdate(Document document);
300 300
301 void setZoomFactor(float factor); 301 void setZoomFactor(float factor);
302 302
303 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al); 303 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al);
304 304
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 // Returns whether the scrollbar was able to be shown or hidden; not all pla tforms 374 // Returns whether the scrollbar was able to be shown or hidden; not all pla tforms
375 // support overlay scrollbars. 375 // support overlay scrollbars.
376 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible); 376 bool setScrollbarVisibilityInScrollableArea(Node node, boolean visible);
377 377
378 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 378 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
379 379
380 DOMString getScrollAnimationState(Node node); 380 DOMString getScrollAnimationState(Node node);
381 381
382 DOMString getProgrammaticScrollAnimationState(Node node); 382 DOMString getProgrammaticScrollAnimationState(Node node);
383 383
384 ClientRect visualRect(Node node); 384 DOMRect visualRect(Node node);
385 385
386 OriginTrialsTest originTrialsTest(); 386 OriginTrialsTest originTrialsTest();
387 387
388 void crash(); 388 void crash();
389 389
390 void setIsLowEndDevice(boolean isLowEndDevice); 390 void setIsLowEndDevice(boolean isLowEndDevice);
391 }; 391 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | third_party/WebKit/Source/core/testing/LayerRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698