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

Side by Side Diff: Source/WebCore/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: 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class DOMWindow; 44 class DOMWindow;
45 class Document; 45 class Document;
46 class DocumentMarker; 46 class DocumentMarker;
47 class Element; 47 class Element;
48 class Frame; 48 class Frame;
49 class InspectorFrontendChannelDummy; 49 class InspectorFrontendChannelDummy;
50 class InternalSettings; 50 class InternalSettings;
51 class Node; 51 class Node;
52 class Page; 52 class Page;
53 class PagePopupController; 53 class PagePopupController;
54 class PaintOrderLists;
54 class Range; 55 class Range;
55 class ScriptExecutionContext; 56 class ScriptExecutionContext;
56 class ShadowRoot; 57 class ShadowRoot;
57 class WebKitPoint; 58 class WebKitPoint;
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
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 223
223 enum { 224 enum {
224 // Values need to be kept in sync with Internals.idl. 225 // Values need to be kept in sync with Internals.idl.
225 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, 226 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1,
226 LAYER_TREE_INCLUDES_TILE_CACHES = 2, 227 LAYER_TREE_INCLUDES_TILE_CACHES = 2,
227 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, 228 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4,
228 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 229 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8
229 }; 230 };
230 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; 231 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const;
231 String layerTreeAsText(Document*, ExceptionCode&) const; 232 String layerTreeAsText(Document*, ExceptionCode&) const;
233
234 String paintOrderListsAsText(Element* document, ExceptionCode& ec);
235 PassRefPtr<PaintOrderLists> paintOrderLists(Element* element, ExceptionCode& ec);
236
232 String repaintRectsAsText(Document*, ExceptionCode&) const; 237 String repaintRectsAsText(Document*, ExceptionCode&) const;
233 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; 238 String scrollingStateTreeAsText(Document*, ExceptionCode&) const;
234 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; 239 String mainThreadScrollingReasons(Document*, ExceptionCode&) const;
235 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&) const; 240 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&) const;
236 241
237 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; 242 void garbageCollectDocumentResources(Document*, ExceptionCode&) const;
238 243
239 void allowRoundingHacks() const; 244 void allowRoundingHacks() const;
240 245
241 void insertAuthorCSS(Document*, const String&) const; 246 void insertAuthorCSS(Document*, const String&) const;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 Vector<String> iconURLs(Document*, int iconTypesMask) const; 319 Vector<String> iconURLs(Document*, int iconTypesMask) const;
315 320
316 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 321 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
317 RefPtr<DOMWindow> m_frontendWindow; 322 RefPtr<DOMWindow> m_frontendWindow;
318 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 323 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
319 }; 324 };
320 325
321 } // namespace WebCore 326 } // namespace WebCore
322 327
323 #endif 328 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698