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

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

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
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 176 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
177 unsigned activeMarkerCountForNode(Node*); 177 unsigned activeMarkerCountForNode(Node*);
178 Range* markerRangeForNode(Node*, 178 Range* markerRangeForNode(Node*,
179 const String& markerType, 179 const String& markerType,
180 unsigned index, 180 unsigned index,
181 ExceptionState&); 181 ExceptionState&);
182 String markerDescriptionForNode(Node*, 182 String markerDescriptionForNode(Node*,
183 const String& markerType, 183 const String& markerType,
184 unsigned index, 184 unsigned index,
185 ExceptionState&); 185 ExceptionState&);
186 void addTextMatchMarker(const Range*, bool isActive); 186 void addTextMatchMarker(const Range*,
187 const String& matchStatus,
188 ExceptionState&);
187 void addCompositionMarker(const Range*, 189 void addCompositionMarker(const Range*,
188 const String& underlineColorValue, 190 const String& underlineColorValue,
189 bool thick, 191 bool thick,
190 const String& backgroundColorValue, 192 const String& backgroundColorValue,
191 ExceptionState&); 193 ExceptionState&);
192 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool); 194 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool);
193 void setMarkedTextMatchesAreHighlighted(Document*, bool); 195 void setMarkedTextMatchesAreHighlighted(Document*, bool);
194 196
195 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); 197 void setFrameViewPosition(Document*, long x, long y, ExceptionState&);
196 String viewportAsText(Document*, 198 String viewportAsText(Document*,
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 const String& markerType, 555 const String& markerType,
554 unsigned index, 556 unsigned index,
555 ExceptionState&); 557 ExceptionState&);
556 Member<InternalRuntimeFlags> m_runtimeFlags; 558 Member<InternalRuntimeFlags> m_runtimeFlags;
557 Member<Document> m_document; 559 Member<Document> m_document;
558 }; 560 };
559 561
560 } // namespace blink 562 } // namespace blink
561 563
562 #endif // Internals_h 564 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698