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 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionState&); | 227 void setNeedsCompositedScrolling(Element*, unsigned value, ExceptionState&); |
228 | 228 |
229 String repaintRectsAsText(Document*, ExceptionState&) const; | 229 String repaintRectsAsText(Document*, ExceptionState&) const; |
230 PassRefPtrWillBeRawPtr<ClientRectList> repaintRects(Element*, ExceptionState
&) const; | 230 PassRefPtrWillBeRawPtr<ClientRectList> repaintRects(Element*, ExceptionState
&) const; |
231 | 231 |
232 String scrollingStateTreeAsText(Document*, ExceptionState&) const; | 232 String scrollingStateTreeAsText(Document*, ExceptionState&) const; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 329 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
330 | 330 |
331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 331 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 332 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
333 RefPtrWillBeMember<InternalProfilers> m_profilers; | 333 RefPtrWillBeMember<InternalProfilers> m_profilers; |
334 }; | 334 }; |
335 | 335 |
336 } // namespace WebCore | 336 } // namespace WebCore |
337 | 337 |
338 #endif | 338 #endif |
OLD | NEW |