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

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

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/inspector/InspectorOverlay.cpp ('k') | Source/core/testing/Internals.cpp » ('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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& ); 137 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState& );
138 void setEnableMockPagePopup(bool, ExceptionState&); 138 void setEnableMockPagePopup(bool, ExceptionState&);
139 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController(); 139 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController();
140 140
141 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&); 141 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&);
142 142
143 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&); 143 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&);
144 144
145 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*, ExceptionState&); 145 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*, ExceptionState&);
146 146
147 PassRefPtrWillBeRawPtr<ClientRectList> inspectorHighlightRects(Document*, Ex ceptionState&);
148
149 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 147 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
150 unsigned activeMarkerCountForNode(Node*, ExceptionState&); 148 unsigned activeMarkerCountForNode(Node*, ExceptionState&);
151 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&); 149 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&);
152 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 150 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
153 void addTextMatchMarker(const Range*, bool isActive); 151 void addTextMatchMarker(const Range*, bool isActive);
154 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool, ExceptionState&); 152 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool, ExceptionState&);
155 void setMarkedTextMatchesAreHighlighted(Document*, bool, ExceptionState&); 153 void setMarkedTextMatchesAreHighlighted(Document*, bool, ExceptionState&);
156 154
157 void setScrollViewPosition(Document*, long x, long y, ExceptionState&); 155 void setScrollViewPosition(Document*, long x, long y, ExceptionState&);
158 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&); 156 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&);
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&); 330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag gable, ExceptionState&);
333 331
334 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
335 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
336 RefPtrWillBeMember<InternalProfilers> m_profilers; 334 RefPtrWillBeMember<InternalProfilers> m_profilers;
337 }; 335 };
338 336
339 } // namespace WebCore 337 } // namespace WebCore
340 338
341 #endif 339 #endif
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlay.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698