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

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

Issue 517293002: Convert some Internals APIs to use DOMPoint instead of WebKitPoint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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/testing/Internals.cpp ('k') | no next file » | 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) 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 [RaisesException, TypeChecking=Interface] void setEditingValue(Element input Element, DOMString value); 109 [RaisesException, TypeChecking=Interface] void setEditingValue(Element input Element, DOMString value);
110 [RaisesException, TypeChecking=Interface] void setAutofilled(Element inputEl ement, boolean enabled); 110 [RaisesException, TypeChecking=Interface] void setAutofilled(Element inputEl ement, boolean enabled);
111 111
112 [RaisesException, TypeChecking=Interface] void scrollElementToRect(Element e lement, long x, long y, long w, long h); 112 [RaisesException, TypeChecking=Interface] void scrollElementToRect(Element e lement, long x, long y, long w, long h);
113 113
114 [TypeChecking=Interface] Range rangeFromLocationAndLength(Element scope, lon g rangeLocation, long rangeLength); 114 [TypeChecking=Interface] Range rangeFromLocationAndLength(Element scope, lon g rangeLocation, long rangeLength);
115 [TypeChecking=Interface] unsigned long locationFromRange(Element scope, Rang e range); 115 [TypeChecking=Interface] unsigned long locationFromRange(Element scope, Rang e range);
116 [TypeChecking=Interface] unsigned long lengthFromRange(Element scope, Range range); 116 [TypeChecking=Interface] unsigned long lengthFromRange(Element scope, Range range);
117 [TypeChecking=Interface] DOMString rangeAsText(Range range); 117 [TypeChecking=Interface] DOMString rangeAsText(Range range);
118 118
119 [RaisesException, TypeChecking=Interface] WebKitPoint touchPositionAdjustedT oBestClickableNode(long x, long y, long width, long height, Document document); 119 [RaisesException, TypeChecking=Interface] DOMPoint touchPositionAdjustedToBe stClickableNode(long x, long y, long width, long height, Document document);
120 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestClicka bleNode(long x, long y, long width, long height, Document document); 120 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestClicka bleNode(long x, long y, long width, long height, Document document);
121 [RaisesException, TypeChecking=Interface] WebKitPoint touchPositionAdjustedT oBestContextMenuNode(long x, long y, long width, long height, Document document) ; 121 [RaisesException, TypeChecking=Interface] DOMPoint touchPositionAdjustedToBe stContextMenuNode(long x, long y, long width, long height, Document document);
122 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestContex tMenuNode(long x, long y, long width, long height, Document document); 122 [RaisesException, TypeChecking=Interface] Node touchNodeAdjustedToBestContex tMenuNode(long x, long y, long width, long height, Document document);
123 [RaisesException, TypeChecking=Interface] ClientRect bestZoomableAreaForTouc hPoint(long x, long y, long width, long height, Document document); 123 [RaisesException, TypeChecking=Interface] ClientRect bestZoomableAreaForTouc hPoint(long x, long y, long width, long height, Document document);
124 124
125 [RaisesException] long lastSpellCheckRequestSequence(Document document); 125 [RaisesException] long lastSpellCheckRequestSequence(Document document);
126 [RaisesException] long lastSpellCheckProcessedSequence(Document document); 126 [RaisesException] long lastSpellCheckProcessedSequence(Document document);
127 127
128 sequence<DOMString> userPreferredLanguages(); 128 sequence<DOMString> userPreferredLanguages();
129 void setUserPreferredLanguages(sequence<DOMString> languages); 129 void setUserPreferredLanguages(sequence<DOMString> languages);
130 130
131 [TypeChecking=Interface] unsigned long activeDOMObjectCount(Document documen t); 131 [TypeChecking=Interface] unsigned long activeDOMObjectCount(Document documen t);
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // This function is for testing HitRegions on Canvas2D. 273 // This function is for testing HitRegions on Canvas2D.
274 unsigned long countHitRegions(CanvasRenderingContext2D context); 274 unsigned long countHitRegions(CanvasRenderingContext2D context);
275 275
276 DOMString serializeNavigationMarkup(); 276 DOMString serializeNavigationMarkup();
277 void hideAllTransitionElements(); 277 void hideAllTransitionElements();
278 278
279 [RaisesException] void forcePluginPlaceholder(HTMLElement plugin, DOMString htmlSource); 279 [RaisesException] void forcePluginPlaceholder(HTMLElement plugin, DOMString htmlSource);
280 280
281 DictionaryTest dictionaryTest(); 281 DictionaryTest dictionaryTest();
282 }; 282 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698