| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 bool isPageBoxVisible(Document*, int pageNumber, ExceptionCode&); | 194 bool isPageBoxVisible(Document*, int pageNumber, ExceptionCode&); |
| 195 | 195 |
| 196 static const char* internalsId; | 196 static const char* internalsId; |
| 197 | 197 |
| 198 InternalSettings* settings() const; | 198 InternalSettings* settings() const; |
| 199 InternalRuntimeFlags* runtimeFlags() const; | 199 InternalRuntimeFlags* runtimeFlags() const; |
| 200 unsigned workerThreadCount() const; | 200 unsigned workerThreadCount() const; |
| 201 | 201 |
| 202 void setDeviceProximity(Document*, const String& eventType, double value, do
uble min, double max, ExceptionCode&); | 202 void setDeviceProximity(Document*, const String& eventType, double value, do
uble min, double max, ExceptionCode&); |
| 203 | 203 |
| 204 enum { | |
| 205 // Values need to be kept in sync with Internals.idl. | |
| 206 LAYER_TREE_INCLUDES_VISIBLE_RECTS = 1, | |
| 207 LAYER_TREE_INCLUDES_TILE_CACHES = 2, | |
| 208 LAYER_TREE_INCLUDES_REPAINT_RECTS = 4, | |
| 209 LAYER_TREE_INCLUDES_PAINTING_PHASES = 8 | |
| 210 }; | |
| 211 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; | 204 String layerTreeAsText(Document*, unsigned flags, ExceptionCode&) const; |
| 212 String layerTreeAsText(Document*, ExceptionCode&) const; | 205 String layerTreeAsText(Document*, ExceptionCode&) const; |
| 213 | 206 |
| 214 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionCode&); | 207 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionCode&); |
| 215 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionCode&); | 208 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionCode&); |
| 216 | 209 |
| 217 enum { | |
| 218 // Values need to be kept in sync with Internals.idl. | |
| 219 DoNotForceCompositedScrolling = 0, | |
| 220 CompositedScrollingAlwaysOn = 1, | |
| 221 CompositedScrollingAlwaysOff = 2 | |
| 222 }; | |
| 223 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionCode&); | 210 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionCode&); |
| 224 | 211 |
| 225 String repaintRectsAsText(Document*, ExceptionCode&) const; | 212 String repaintRectsAsText(Document*, ExceptionCode&) const; |
| 226 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; | 213 String scrollingStateTreeAsText(Document*, ExceptionCode&) const; |
| 227 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; | 214 String mainThreadScrollingReasons(Document*, ExceptionCode&) const; |
| 228 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; | 215 PassRefPtr<ClientRectList> nonFastScrollableRects(Document*, ExceptionCode&)
const; |
| 229 | 216 |
| 230 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; | 217 void garbageCollectDocumentResources(Document*, ExceptionCode&) const; |
| 231 | 218 |
| 232 void allowRoundingHacks() const; | 219 void allowRoundingHacks() const; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 | 288 |
| 302 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); | 289 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionCode&); |
| 303 RefPtr<DOMWindow> m_frontendWindow; | 290 RefPtr<DOMWindow> m_frontendWindow; |
| 304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; | 291 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; |
| 305 RefPtr<InternalRuntimeFlags> m_runtimeFlags; | 292 RefPtr<InternalRuntimeFlags> m_runtimeFlags; |
| 306 }; | 293 }; |
| 307 | 294 |
| 308 } // namespace WebCore | 295 } // namespace WebCore |
| 309 | 296 |
| 310 #endif | 297 #endif |
| OLD | NEW |