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

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

Issue 14741004: NOT FOR REVIEW - Update comp-scrolling state at a well defined point in the pipeline. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added annotations describing how this patch will be split. Created 7 years, 7 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 enum { 214 enum {
215 // Values need to be kept in sync with Internals.idl. 215 // Values need to be kept in sync with Internals.idl.
216 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, 216 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1,
217 LAYER_TREE_INCLUDES_TILE_CACHES = 2, 217 LAYER_TREE_INCLUDES_TILE_CACHES = 2,
218 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, 218 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4,
219 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 219 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8
220 }; 220 };
221 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; 221 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const;
222 String layerTreeAsText(Document*, ExceptionCode&) const; 222 String layerTreeAsText(Document*, ExceptionCode&) const;
223 223
224 PassRefPtr<NodeList> paintOrderListBeforePromote(Element* element, Exception Code& ec); 224 // PATCH 1
225 PassRefPtr<NodeList> paintOrderListAfterPromote(Element* element, ExceptionC ode& ec); 225
226 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionCode&);
227 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionCode&);
228
229 enum {
230 // Values need to be kept in sync with Internals.idl.
231 DoNotForceCompositedScrolling = 0,
232 ForceCompositedScrollingOn = 1,
233 ForceCompositedScrollingOff = 2
234 };
235 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionCode&);
226 236
227 String repaintRectsAsText(Document*, ExceptionCode&) const; 237 String repaintRectsAsText(Document*, ExceptionCode&) const;
228 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; 238 String scrollingStateTreeAsText(Document*, ExceptionCode&) const;
229 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; 239 String mainThreadScrollingReasons(Document*, ExceptionCode&) const;
230 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&) const; 240 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&) const;
231 241
232 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; 242 void garbageCollectDocumentResources(Document*, ExceptionCode&) const;
233 243
234 void allowRoundingHacks() const; 244 void allowRoundingHacks() const;
235 245
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 Vector<String> iconURLs(Document*, int iconTypesMask) const; 312 Vector<String> iconURLs(Document*, int iconTypesMask) const;
303 313
304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 314 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
305 RefPtr<DOMWindow> m_frontendWindow; 315 RefPtr<DOMWindow> m_frontendWindow;
306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 316 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
307 }; 317 };
308 318
309 } // namespace WebCore 319 } // namespace WebCore
310 320
311 #endif 321 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698