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

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

Issue 23903012: Set up scroll and clip parents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Make WebLayer additions pure virtual. Created 7 years, 3 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/rendering/RenderLayerCompositor.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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st; 217 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con st;
218 String elementLayerTreeAsText(Element*, ExceptionState&) const; 218 String elementLayerTreeAsText(Element*, ExceptionState&) const;
219 219
220 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionState&); 220 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionState&);
221 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionState&); 221 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionState&);
222 222
223 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); 223 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&);
224 224
225 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionState&); 225 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionState&);
226 226
227 bool isScrollParent(Element* child, Element* parent, ExceptionState&);
228 bool isClipParent(Element* child, Element* parent, ExceptionState&);
229
230 PassRefPtr<ClientRect> scrollClip(Element*, ExceptionState&);
231 PassRefPtr<ClientRect> ancestorScrollClip(Element*, ExceptionState&);
232
227 String repaintRectsAsText(Document*, ExceptionState&) const; 233 String repaintRectsAsText(Document*, ExceptionState&) const;
228 String scrollingStateTreeAsText(Document*, ExceptionState&) const; 234 String scrollingStateTreeAsText(Document*, ExceptionState&) const;
229 String mainThreadScrollingReasons(Document*, ExceptionState&) const; 235 String mainThreadScrollingReasons(Document*, ExceptionState&) const;
230 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionState& ) const; 236 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionState& ) const;
231 237
232 void garbageCollectDocumentResources(Document*, ExceptionState&) const; 238 void garbageCollectDocumentResources(Document*, ExceptionState&) const;
233 void evictAllResources() const; 239 void evictAllResources() const;
234 240
235 void allowRoundingHacks() const; 241 void allowRoundingHacks() const;
236 242
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 RefPtr<DOMWindow> m_frontendWindow; 313 RefPtr<DOMWindow> m_frontendWindow;
308 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 314 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
309 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 315 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
310 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 316 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
311 RefPtr<InternalProfilers> m_profilers; 317 RefPtr<InternalProfilers> m_profilers;
312 }; 318 };
313 319
314 } // namespace WebCore 320 } // namespace WebCore
315 321
316 #endif 322 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerCompositor.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698