| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 Vector<AtomicString> userPreferredLanguages() const; | 180 Vector<AtomicString> userPreferredLanguages() const; |
| 181 void setUserPreferredLanguages(const Vector<String>&); | 181 void setUserPreferredLanguages(const Vector<String>&); |
| 182 | 182 |
| 183 unsigned activeDOMObjectCount(Document*, ExceptionState&); | 183 unsigned activeDOMObjectCount(Document*, ExceptionState&); |
| 184 unsigned wheelEventHandlerCount(Document*, ExceptionState&); | 184 unsigned wheelEventHandlerCount(Document*, ExceptionState&); |
| 185 unsigned scrollEventHandlerCount(Document*, ExceptionState&); | 185 unsigned scrollEventHandlerCount(Document*, ExceptionState&); |
| 186 unsigned touchEventHandlerCount(Document*, ExceptionState&); | 186 unsigned touchEventHandlerCount(Document*, ExceptionState&); |
| 187 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*,
ExceptionState&); | 187 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*,
ExceptionState&); |
| 188 | 188 |
| 189 // This is used to test rect based hit testing like what's done on touch scr
eens. | 189 // This is used to test rect based hit testing like what's done on touch scr
eens. |
| 190 PassRefPtr<NodeList> nodesFromRect(Document*, int x, int y, unsigned topPadd
ing, unsigned rightPadding, | 190 PassRefPtrWillBeRawPtr<NodeList> nodesFromRect(Document*, int x, int y, unsi
gned topPadding, unsigned rightPadding, |
| 191 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool
allowShadowContent, bool allowChildFrameContent, ExceptionState&) const; | 191 unsigned bottomPadding, unsigned leftPadding, bool ignoreClipping, bool
allowShadowContent, bool allowChildFrameContent, ExceptionState&) const; |
| 192 | 192 |
| 193 void emitInspectorDidBeginFrame(int frameId = 0); | 193 void emitInspectorDidBeginFrame(int frameId = 0); |
| 194 void emitInspectorDidCancelFrame(); | 194 void emitInspectorDidCancelFrame(); |
| 195 | 195 |
| 196 bool hasSpellingMarker(Document*, int from, int length, ExceptionState&); | 196 bool hasSpellingMarker(Document*, int from, int length, ExceptionState&); |
| 197 bool hasGrammarMarker(Document*, int from, int length, ExceptionState&); | 197 bool hasGrammarMarker(Document*, int from, int length, ExceptionState&); |
| 198 void setContinuousSpellCheckingEnabled(bool enabled, ExceptionState&); | 198 void setContinuousSpellCheckingEnabled(bool enabled, ExceptionState&); |
| 199 | 199 |
| 200 bool isOverwriteModeEnabled(Document*, ExceptionState&); | 200 bool isOverwriteModeEnabled(Document*, ExceptionState&); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 211 InternalProfilers* profilers(); | 211 InternalProfilers* profilers(); |
| 212 unsigned workerThreadCount() const; | 212 unsigned workerThreadCount() const; |
| 213 | 213 |
| 214 void setDeviceProximity(Document*, const String& eventType, double value, do
uble min, double max, ExceptionState&); | 214 void setDeviceProximity(Document*, const String& eventType, double value, do
uble min, double max, ExceptionState&); |
| 215 | 215 |
| 216 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const; | 216 String layerTreeAsText(Document*, unsigned flags, ExceptionState&) const; |
| 217 String layerTreeAsText(Document*, ExceptionState&) const; | 217 String layerTreeAsText(Document*, ExceptionState&) const; |
| 218 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con
st; | 218 String elementLayerTreeAsText(Element*, unsigned flags, ExceptionState&) con
st; |
| 219 String elementLayerTreeAsText(Element*, ExceptionState&) const; | 219 String elementLayerTreeAsText(Element*, ExceptionState&) const; |
| 220 | 220 |
| 221 PassRefPtr<NodeList> paintOrderListBeforePromote(Element*, ExceptionState&); | 221 PassRefPtrWillBeRawPtr<NodeList> paintOrderListBeforePromote(Element*, Excep
tionState&); |
| 222 PassRefPtr<NodeList> paintOrderListAfterPromote(Element*, ExceptionState&); | 222 PassRefPtrWillBeRawPtr<NodeList> paintOrderListAfterPromote(Element*, Except
ionState&); |
| 223 | 223 |
| 224 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); | 224 bool scrollsWithRespectTo(Element*, Element*, ExceptionState&); |
| 225 bool isUnclippedDescendant(Element*, ExceptionState&); | 225 bool isUnclippedDescendant(Element*, ExceptionState&); |
| 226 | 226 |
| 227 String repaintRectsAsText(Document*, ExceptionState&) const; | 227 String repaintRectsAsText(Document*, ExceptionState&) const; |
| 228 PassRefPtrWillBeRawPtr<ClientRectList> repaintRects(Element*, ExceptionState
&) const; | 228 PassRefPtrWillBeRawPtr<ClientRectList> repaintRects(Element*, ExceptionState
&) const; |
| 229 | 229 |
| 230 String scrollingStateTreeAsText(Document*, ExceptionState&) const; | 230 String scrollingStateTreeAsText(Document*, ExceptionState&) const; |
| 231 String mainThreadScrollingReasons(Document*, ExceptionState&) const; | 231 String mainThreadScrollingReasons(Document*, ExceptionState&) const; |
| 232 PassRefPtrWillBeRawPtr<ClientRectList> nonFastScrollableRects(Document*, Exc
eptionState&) const; | 232 PassRefPtrWillBeRawPtr<ClientRectList> nonFastScrollableRects(Document*, Exc
eptionState&) const; |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 325 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
| 326 | 326 |
| 327 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 327 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 328 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 328 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
| 329 RefPtrWillBeMember<InternalProfilers> m_profilers; | 329 RefPtrWillBeMember<InternalProfilers> m_profilers; |
| 330 }; | 330 }; |
| 331 | 331 |
| 332 } // namespace WebCore | 332 } // namespace WebCore |
| 333 | 333 |
| 334 #endif | 334 #endif |
| OLD | NEW |