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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 PassRefPtrWillBeRawPtr<DOMPoint> touchPositionAdjustedToBestClickableNode(lo
ng x, long y, long width, long height, Document*, ExceptionState&); | 173 PassRefPtrWillBeRawPtr<DOMPoint> touchPositionAdjustedToBestClickableNode(lo
ng x, long y, long width, long height, Document*, ExceptionState&); |
174 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long
height, Document*, ExceptionState&); | 174 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long
height, Document*, ExceptionState&); |
175 PassRefPtrWillBeRawPtr<DOMPoint> touchPositionAdjustedToBestContextMenuNode(
long x, long y, long width, long height, Document*, ExceptionState&); | 175 PassRefPtrWillBeRawPtr<DOMPoint> touchPositionAdjustedToBestContextMenuNode(
long x, long y, long width, long height, Document*, ExceptionState&); |
176 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon
g height, Document*, ExceptionState&); | 176 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon
g height, Document*, ExceptionState&); |
177 PassRefPtrWillBeRawPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, lon
g y, long width, long height, Document*, ExceptionState&); | 177 PassRefPtrWillBeRawPtr<ClientRect> bestZoomableAreaForTouchPoint(long x, lon
g y, long width, long height, Document*, ExceptionState&); |
178 | 178 |
179 int lastSpellCheckRequestSequence(Document*, ExceptionState&); | 179 int lastSpellCheckRequestSequence(Document*, ExceptionState&); |
180 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); | 180 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); |
181 | 181 |
182 Vector<AtomicString> userPreferredLanguages() const; | 182 Vector<String> userPreferredLanguages() const; |
183 void setUserPreferredLanguages(const Vector<String>&); | 183 void setUserPreferredLanguages(const Vector<String>&); |
184 | 184 |
185 unsigned activeDOMObjectCount(Document*, ExceptionState&); | 185 unsigned activeDOMObjectCount(Document*, ExceptionState&); |
186 unsigned wheelEventHandlerCount(Document*, ExceptionState&); | 186 unsigned wheelEventHandlerCount(Document*, ExceptionState&); |
187 unsigned scrollEventHandlerCount(Document*, ExceptionState&); | 187 unsigned scrollEventHandlerCount(Document*, ExceptionState&); |
188 unsigned touchEventHandlerCount(Document*, ExceptionState&); | 188 unsigned touchEventHandlerCount(Document*, ExceptionState&); |
189 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*,
ExceptionState&); | 189 PassRefPtrWillBeRawPtr<LayerRectList> touchEventTargetLayerRects(Document*,
ExceptionState&); |
190 | 190 |
191 // This is used to test rect based hit testing like what's done on touch scr
eens. | 191 // This is used to test rect based hit testing like what's done on touch scr
eens. |
192 PassRefPtrWillBeRawPtr<StaticNodeList> nodesFromRect(Document*, int x, int y
, unsigned topPadding, unsigned rightPadding, | 192 PassRefPtrWillBeRawPtr<StaticNodeList> nodesFromRect(Document*, int x, int y
, unsigned topPadding, unsigned rightPadding, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 void garbageCollectDocumentResources(Document*, ExceptionState&) const; | 230 void garbageCollectDocumentResources(Document*, ExceptionState&) const; |
231 void evictAllResources() const; | 231 void evictAllResources() const; |
232 | 232 |
233 unsigned numberOfLiveNodes() const; | 233 unsigned numberOfLiveNodes() const; |
234 unsigned numberOfLiveDocuments() const; | 234 unsigned numberOfLiveDocuments() const; |
235 String dumpRefCountedInstanceCounts() const; | 235 String dumpRefCountedInstanceCounts() const; |
236 Vector<String> consoleMessageArgumentCounts(Document*) const; | 236 Vector<String> consoleMessageArgumentCounts(Document*) const; |
237 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri
ng& url); | 237 PassRefPtrWillBeRawPtr<LocalDOMWindow> openDummyInspectorFrontend(const Stri
ng& url); |
238 void closeDummyInspectorFrontend(); | 238 void closeDummyInspectorFrontend(); |
239 Vector<unsigned long> setMemoryCacheCapacities(unsigned long minDeadBytes, u
nsigned long maxDeadBytes, unsigned long totalBytes); | 239 Vector<unsigned> setMemoryCacheCapacities(unsigned long minDeadBytes, unsign
ed long maxDeadBytes, unsigned long totalBytes); |
240 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in
t maximumSingleResourceContentSize, ExceptionState&); | 240 void setInspectorResourcesDataSizeLimits(int maximumResourcesContentSize, in
t maximumSingleResourceContentSize, ExceptionState&); |
241 | 241 |
242 String counterValue(Element*); | 242 String counterValue(Element*); |
243 | 243 |
244 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); | 244 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); |
245 Vector<String> shortcutIconURLs(Document*) const; | 245 Vector<String> shortcutIconURLs(Document*) const; |
246 Vector<String> allIconURLs(Document*) const; | 246 Vector<String> allIconURLs(Document*) const; |
247 | 247 |
248 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); | 248 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels =
600); |
249 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons
t; | 249 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons
t; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 330 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
331 | 331 |
332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 332 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; | 333 RefPtrWillBeMember<InternalRuntimeFlags> m_runtimeFlags; |
334 RefPtrWillBeMember<InternalProfilers> m_profilers; | 334 RefPtrWillBeMember<InternalProfilers> m_profilers; |
335 }; | 335 }; |
336 | 336 |
337 } // namespace WebCore | 337 } // namespace WebCore |
338 | 338 |
339 #endif | 339 #endif |
OLD | NEW |