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

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

Issue 257873002: DevTools: do not use internals for highlight testing, use protocol instead. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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') | Source/devtools/front_end/sdk/DOMModel.js » ('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) 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values); 89 [RaisesException] void setFormControlStateOfHistoryItem(sequence<DOMString> values);
90 [RaisesException] void setEnableMockPagePopup(boolean enabled); 90 [RaisesException] void setEnableMockPagePopup(boolean enabled);
91 readonly attribute PagePopupController pagePopupController; 91 readonly attribute PagePopupController pagePopupController;
92 92
93 [RaisesException] ClientRect unscaledViewportRect(); 93 [RaisesException] ClientRect unscaledViewportRect();
94 94
95 [RaisesException] ClientRect absoluteCaretBounds(); 95 [RaisesException] ClientRect absoluteCaretBounds();
96 96
97 [RaisesException] ClientRect boundingBox(Element element); 97 [RaisesException] ClientRect boundingBox(Element element);
98 98
99 [RaisesException] ClientRectList inspectorHighlightRects(Document document);
100
101 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType); 99 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType);
102 [RaisesException] unsigned long activeMarkerCountForNode(Node node); 100 [RaisesException] unsigned long activeMarkerCountForNode(Node node);
103 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index); 101 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index);
104 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index); 102 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index);
105 void addTextMatchMarker(Range range, boolean isActive); 103 void addTextMatchMarker(Range range, boolean isActive);
106 [RaisesException] void setMarkersActive(Node node, unsigned long startOffset , unsigned long endOffset, boolean active); 104 [RaisesException] void setMarkersActive(Node node, unsigned long startOffset , unsigned long endOffset, boolean active);
107 [RaisesException] void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight); 105 [RaisesException] void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight);
108 106
109 [RaisesException] void setScrollViewPosition(Document document, long x, long y); 107 [RaisesException] void setScrollViewPosition(Document document, long x, long y);
110 108
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 [CallWith=ExecutionContext] Promise createPromise(); 275 [CallWith=ExecutionContext] Promise createPromise();
278 [CallWith=ExecutionContext] Promise createResolvedPromise(any value); 276 [CallWith=ExecutionContext] Promise createResolvedPromise(any value);
279 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason); 277 [CallWith=ExecutionContext] Promise createRejectedPromise(any reason);
280 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise); 278 [CallWith=ExecutionContext] Promise addOneToPromise(Promise promise);
281 279
282 void startSpeechInput(Element element); 280 void startSpeechInput(Element element);
283 void setValueForUser(Element element, DOMString value); 281 void setValueForUser(Element element, DOMString value);
284 282
285 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 283 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
286 }; 284 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/devtools/front_end/sdk/DOMModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698