| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionCode&); |
| 225 PassRefPtr<NodeList> paintOrderListAfterPromote(Element* element, ExceptionC
ode& ec); | 225 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionCode&); |
| 226 |
| 227 enum { |
| 228 // Values need to be kept in sync with Internals.idl. |
| 229 DoNotForceCompositedScrolling = 0, |
| 230 ForceCompositedScrollingOn = 1, |
| 231 ForceCompositedScrollingOff = 2 |
| 232 }; |
| 233 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionCode&); |
| 226 | 234 |
| 227 String repaintRectsAsText(Document*, ExceptionCode&) const; | 235 String repaintRectsAsText(Document*, ExceptionCode&) const; |
| 228 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; | 236 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; |
| 229 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; | 237 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; |
| 230 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; | 238 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; |
| 231 | 239 |
| 232 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; | 240 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; |
| 233 | 241 |
| 234 void allowRoundingHacks() const; | 242 void allowRoundingHacks() const; |
| 235 | 243 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 310 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
| 303 | 311 |
| 304 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 312 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
| 305 RefPtr<DOMWindow> m_frontendWindow; | 313 RefPtr<DOMWindow> m_frontendWindow; |
| 306 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 314 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
| 307 }; | 315 }; |
| 308 | 316 |
| 309 } // namespace WebCore | 317 } // namespace WebCore |
| 310 | 318 |
| 311 #endif | 319 #endif |
| OLD | NEW |