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

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

Issue 13467028: Add an intermediate function to generate 2 paint-order lists. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Responding to Ian's comments Created 7 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 class DOMWindow; 45 class DOMWindow;
46 class Document; 46 class Document;
47 class DocumentMarker; 47 class DocumentMarker;
48 class Element; 48 class Element;
49 class Frame; 49 class Frame;
50 class InspectorFrontendChannelDummy; 50 class InspectorFrontendChannelDummy;
51 class InternalSettings; 51 class InternalSettings;
52 class Node; 52 class Node;
53 class Page; 53 class Page;
54 class PagePopupController; 54 class PagePopupController;
55 class PaintOrderLists;
55 class Range; 56 class Range;
56 class ScriptExecutionContext; 57 class ScriptExecutionContext;
57 class ShadowRoot; 58 class ShadowRoot;
58 class MallocStatistics; 59 class MallocStatistics;
59 class SerializedScriptValue; 60 class SerializedScriptValue;
60 class TypeConversions; 61 class TypeConversions;
61 62
62 typedef int ExceptionCode; 63 typedef int ExceptionCode;
63 64
64 class Internals : public RefCounted<Internals> 65 class Internals : public RefCounted<Internals>
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 215
215 enum { 216 enum {
216 // Values need to be kept in sync with Internals.idl. 217 // Values need to be kept in sync with Internals.idl.
217 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, 218 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1,
218 LAYER_TREE_INCLUDES_TILE_CACHES = 2, 219 LAYER_TREE_INCLUDES_TILE_CACHES = 2,
219 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, 220 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4,
220 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 221 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8
221 }; 222 };
222 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; 223 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const;
223 String layerTreeAsText(Document*, ExceptionCode&) const; 224 String layerTreeAsText(Document*, ExceptionCode&) const;
225
226 String paintOrderListsAsText(Element* document, ExceptionCode& ec);
227 PassRefPtr<PaintOrderLists> paintOrderLists(Element* element, ExceptionCode& ec);
228
224 String repaintRectsAsText(Document*, ExceptionCode&) const; 229 String repaintRectsAsText(Document*, ExceptionCode&) const;
225 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; 230 String scrollingStateTreeAsText(Document*, ExceptionCode&) const;
226 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; 231 String mainThreadScrollingReasons(Document*, ExceptionCode&) const;
227 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&) const; 232 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&) const;
228 233
229 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; 234 void garbageCollectDocumentResources(Document*, ExceptionCode&) const;
230 235
231 void allowRoundingHacks() const; 236 void allowRoundingHacks() const;
232 237
233 void insertAuthorCSS(Document*, const String&) const; 238 void insertAuthorCSS(Document*, const String&) const;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 Vector<String> iconURLs(Document*, int iconTypesMask) const; 311 Vector<String> iconURLs(Document*, int iconTypesMask) const;
307 312
308 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 313 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
309 RefPtr<DOMWindow> m_frontendWindow; 314 RefPtr<DOMWindow> m_frontendWindow;
310 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 315 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
311 }; 316 };
312 317
313 } // namespace WebCore 318 } // namespace WebCore
314 319
315 #endif 320 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698