OLD | NEW |
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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 enum { | 207 enum { |
208 // Values need to be kept in sync with Internals.idl. | 208 // Values need to be kept in sync with Internals.idl. |
209 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, | 209 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, |
210 LAYER_TREE_INCLUDES_TILE_CACHES = 2, | 210 LAYER_TREE_INCLUDES_TILE_CACHES = 2, |
211 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, | 211 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, |
212 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 | 212 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 |
213 }; | 213 }; |
214 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; | 214 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; |
215 String layerTreeAsText(Document*, ExceptionCode&) const; | 215 String layerTreeAsText(Document*, ExceptionCode&) const; |
216 | 216 |
217 PassRefPtr<NodeList> paintOrderListBeforePromote(Element* element, Exception
Code& ec); | 217 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionCode&); |
218 PassRefPtr<NodeList> paintOrderListAfterPromote(Element* element, ExceptionC
ode& ec); | 218 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionCode&); |
| 219 |
| 220 enum { |
| 221 // Values need to be kept in sync with Internals.idl. |
| 222 DoNotForceCompositedScrolling = 0, |
| 223 CompositedScrollingAlwaysOn = 1, |
| 224 CompositedScrollingAlwaysOff = 2 |
| 225 }; |
| 226 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionCode&); |
219 | 227 |
220 String repaintRectsAsText(Document*, ExceptionCode&) const; | 228 String repaintRectsAsText(Document*, ExceptionCode&) const; |
221 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; | 229 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; |
222 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; | 230 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; |
223 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; | 231 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; |
224 | 232 |
225 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; | 233 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; |
226 | 234 |
227 void allowRoundingHacks() const; | 235 void allowRoundingHacks() const; |
228 | 236 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 | 304 |
297 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 305 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
298 RefPtr<DOMWindow> m_frontendWindow; | 306 RefPtr<DOMWindow> m_frontendWindow; |
299 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 307 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
300 RefPtr<InternalRuntimeFlags> m_runtimeFlags; | 308 RefPtr<InternalRuntimeFlags> m_runtimeFlags; |
301 }; | 309 }; |
302 | 310 |
303 } // namespace WebCore | 311 } // namespace WebCore |
304 | 312 |
305 #endif | 313 #endif |
OLD | NEW |