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

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

Issue 237313003: CSS shapes support in Web Inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review comment and add test 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
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 void setEnableMockPagePopup(bool, ExceptionState&); 139 void setEnableMockPagePopup(bool, ExceptionState&);
140 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController(); 140 PassRefPtrWillBeRawPtr<PagePopupController> pagePopupController();
141 141
142 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&); 142 PassRefPtrWillBeRawPtr<ClientRect> unscaledViewportRect(ExceptionState&);
143 143
144 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&); 144 PassRefPtrWillBeRawPtr<ClientRect> absoluteCaretBounds(ExceptionState&);
145 145
146 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*, ExceptionState&); 146 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*, ExceptionState&);
147 147
148 PassRefPtrWillBeRawPtr<ClientRectList> inspectorHighlightRects(Document*, Ex ceptionState&); 148 PassRefPtrWillBeRawPtr<ClientRectList> inspectorHighlightRects(Document*, Ex ceptionState&);
149 String inspectorHighlightCSSShapes(Node*, ExceptionState&);
149 150
150 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 151 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
151 unsigned activeMarkerCountForNode(Node*, ExceptionState&); 152 unsigned activeMarkerCountForNode(Node*, ExceptionState&);
152 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&); 153 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker Type, unsigned index, ExceptionState&);
153 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 154 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
154 void addTextMatchMarker(const Range*, bool isActive); 155 void addTextMatchMarker(const Range*, bool isActive);
155 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool, ExceptionState&); 156 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool, ExceptionState&);
156 void setMarkedTextMatchesAreHighlighted(Document*, bool, ExceptionState&); 157 void setMarkedTextMatchesAreHighlighted(Document*, bool, ExceptionState&);
157 158
158 void setScrollViewPosition(Document*, long x, long y, ExceptionState&); 159 void setScrollViewPosition(Document*, long x, long y, ExceptionState&);
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 339 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
339 RefPtrWillBeMember<DOMWindow> m_frontendWindow; 340 RefPtrWillBeMember<DOMWindow> m_frontendWindow;
340 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 341 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
341 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; 342 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags;
342 RefPtrWillBeMember<InternalProfilers> m_profilers; 343 RefPtrWillBeMember<InternalProfilers> m_profilers;
343 }; 344 };
344 345
345 } // namespace WebCore 346 } // namespace WebCore
346 347
347 #endif 348 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698