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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 1709003002: Geometry: Reimplement DOMPoint using V8 extras. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 [RaisesException] DOMString suggestedValue(Element inputElement); 123 [RaisesException] DOMString suggestedValue(Element inputElement);
124 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val ue); 124 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val ue);
125 [RaisesException] void setEditingValue(Element inputElement, DOMString value ); 125 [RaisesException] void setEditingValue(Element inputElement, DOMString value );
126 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); 126 [RaisesException] void setAutofilled(Element inputElement, boolean enabled);
127 127
128 Range rangeFromLocationAndLength(Element scope, long rangeLocation, long ran geLength); 128 Range rangeFromLocationAndLength(Element scope, long rangeLocation, long ran geLength);
129 unsigned long locationFromRange(Element scope, Range range); 129 unsigned long locationFromRange(Element scope, Range range);
130 unsigned long lengthFromRange(Element scope, Range range); 130 unsigned long lengthFromRange(Element scope, Range range);
131 DOMString rangeAsText(Range range); 131 DOMString rangeAsText(Range range);
132 132
133 [RaisesException] DOMPoint touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document); 133 // The following method should return DOMPoint but for now
134 // we use 'any' instead since it is implemented with V8 extras.
135 // Please see: http://crbug.com/588630
136 [RaisesException] any touchPositionAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
haraken 2016/02/25 11:21:11 Add [CallWith=ScriptState] and pass it down to met
134 [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document document); 137 [RaisesException] Node touchNodeAdjustedToBestClickableNode(long x, long y, long width, long height, Document document);
135 [RaisesException] DOMPoint touchPositionAdjustedToBestContextMenuNode(long x , long y, long width, long height, Document document); 138
139 // The following method should return DOMPoint but for now
140 // we use 'any' instead since it is implemented with V8 extras.
141 // Please see: http://crbug.com/588630
142 [RaisesException] any touchPositionAdjustedToBestContextMenuNode(long x, lon g y, long width, long height, Document document);
haraken 2016/02/25 11:21:10 Ditto.
136 [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y , long width, long height, Document document); 143 [RaisesException] Node touchNodeAdjustedToBestContextMenuNode(long x, long y , long width, long height, Document document);
137 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document); 144 [RaisesException] ClientRect bestZoomableAreaForTouchPoint(long x, long y, l ong width, long height, Document document);
138 145
139 [RaisesException] long lastSpellCheckRequestSequence(Document document); 146 [RaisesException] long lastSpellCheckRequestSequence(Document document);
140 [RaisesException] long lastSpellCheckProcessedSequence(Document document); 147 [RaisesException] long lastSpellCheckProcessedSequence(Document document);
141 148
142 sequence<DOMString> userPreferredLanguages(); 149 sequence<DOMString> userPreferredLanguages();
143 void setUserPreferredLanguages(sequence<DOMString> languages); 150 void setUserPreferredLanguages(sequence<DOMString> languages);
144 151
145 unsigned long activeDOMObjectCount(Document document); 152 unsigned long activeDOMObjectCount(Document document);
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 void forceRestrictIFramePermissions(); 359 void forceRestrictIFramePermissions();
353 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime); 360 [RaisesException] double monotonicTimeToZeroBasedDocumentTime(double platfor mTime);
354 361
355 void setMediaElementNetworkState(HTMLMediaElement element, long state); 362 void setMediaElementNetworkState(HTMLMediaElement element, long state);
356 363
357 // TODO(liberato): remove once autoplay gesture override experiment conclude s. 364 // TODO(liberato): remove once autoplay gesture override experiment conclude s.
358 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement); 365 void triggerAutoplayViewportCheck(HTMLMediaElement mediaElement);
359 366
360 int getScrollAnimationState(Node node); 367 int getScrollAnimationState(Node node);
361 }; 368 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698