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

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

Issue 2802543002: Update window.internals.addTextMatchMarker() to take enum instead of bool (Closed)
Patch Set: Fix one more test, add k prefix Created 3 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
« no previous file with comments | « third_party/WebKit/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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 [RaisesException] ClientRect absoluteCaretBounds(); 99 [RaisesException] ClientRect absoluteCaretBounds();
100 100
101 ClientRect boundingBox(Element element); 101 ClientRect boundingBox(Element element);
102 102
103 [RaisesException] void setMarker(Document document, Range range, DOMString m arkerType); 103 [RaisesException] void setMarker(Document document, Range range, DOMString m arkerType);
104 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType); 104 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType);
105 unsigned long activeMarkerCountForNode(Node node); 105 unsigned long activeMarkerCountForNode(Node node);
106 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index); 106 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index);
107 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index); 107 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index);
108 void addTextMatchMarker(Range range, boolean isActive); 108 [RaisesException] void addTextMatchMarker(Range range, DOMString matchStatus );
109 [RaisesException] void addCompositionMarker(Range range, DOMString underline ColorValue, boolean thick, DOMString backgroundColorValue); 109 [RaisesException] void addCompositionMarker(Range range, DOMString underline ColorValue, boolean thick, DOMString backgroundColorValue);
110 void setMarkersActive(Node node, unsigned long startOffset, unsigned long en dOffset, boolean active); 110 void setMarkersActive(Node node, unsigned long startOffset, unsigned long en dOffset, boolean active);
111 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight ); 111 void setMarkedTextMatchesAreHighlighted(Document document, boolean highlight );
112 112
113 [RaisesException] void setFrameViewPosition(Document document, long x, long y); 113 [RaisesException] void setFrameViewPosition(Document document, long x, long y);
114 114
115 [RaisesException] DOMString viewportAsText(Document document, 115 [RaisesException] DOMString viewportAsText(Document document,
116 float devicePixelRatio, 116 float devicePixelRatio,
117 long availableWidth, 117 long availableWidth,
118 long availableHeight); 118 long availableHeight);
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 DOMString getProgrammaticScrollAnimationState(Node node); 371 DOMString getProgrammaticScrollAnimationState(Node node);
372 372
373 ClientRect visualRect(Node node); 373 ClientRect visualRect(Node node);
374 374
375 OriginTrialsTest originTrialsTest(); 375 OriginTrialsTest originTrialsTest();
376 376
377 void crash(); 377 void crash();
378 378
379 void setIsLowEndDevice(boolean isLowEndDevice); 379 void setIsLowEndDevice(boolean isLowEndDevice);
380 }; 380 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698