| 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 29 matching lines...) Expand all Loading... |
| 40 #include "wtf/PassRefPtr.h" | 40 #include "wtf/PassRefPtr.h" |
| 41 #include "wtf/RefCounted.h" | 41 #include "wtf/RefCounted.h" |
| 42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
| 43 | 43 |
| 44 namespace blink { | 44 namespace blink { |
| 45 | 45 |
| 46 class CanvasRenderingContext; | 46 class CanvasRenderingContext; |
| 47 class ClientRect; | 47 class ClientRect; |
| 48 class ClientRectList; | 48 class ClientRectList; |
| 49 class DOMArrayBuffer; | 49 class DOMArrayBuffer; |
| 50 class DOMPoint; | |
| 51 class DictionaryTest; | 50 class DictionaryTest; |
| 52 class Document; | 51 class Document; |
| 53 class DocumentMarker; | 52 class DocumentMarker; |
| 54 class Element; | 53 class Element; |
| 55 class ExceptionState; | 54 class ExceptionState; |
| 56 class GCObservation; | 55 class GCObservation; |
| 57 class HTMLMediaElement; | 56 class HTMLMediaElement; |
| 58 class InternalRuntimeFlags; | 57 class InternalRuntimeFlags; |
| 59 class InternalSettings; | 58 class InternalSettings; |
| 60 class Iterator; | 59 class Iterator; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 String suggestedValue(Element*, ExceptionState&); | 171 String suggestedValue(Element*, ExceptionState&); |
| 173 void setSuggestedValue(Element*, const String&, ExceptionState&); | 172 void setSuggestedValue(Element*, const String&, ExceptionState&); |
| 174 void setEditingValue(Element* inputElement, const String&, ExceptionState&); | 173 void setEditingValue(Element* inputElement, const String&, ExceptionState&); |
| 175 void setAutofilled(Element*, bool enabled, ExceptionState&); | 174 void setAutofilled(Element*, bool enabled, ExceptionState&); |
| 176 | 175 |
| 177 PassRefPtrWillBeRawPtr<Range> rangeFromLocationAndLength(Element* scope, int
rangeLocation, int rangeLength); | 176 PassRefPtrWillBeRawPtr<Range> rangeFromLocationAndLength(Element* scope, int
rangeLocation, int rangeLength); |
| 178 unsigned locationFromRange(Element* scope, const Range*); | 177 unsigned locationFromRange(Element* scope, const Range*); |
| 179 unsigned lengthFromRange(Element* scope, const Range*); | 178 unsigned lengthFromRange(Element* scope, const Range*); |
| 180 String rangeAsText(const Range*); | 179 String rangeAsText(const Range*); |
| 181 | 180 |
| 182 DOMPoint* touchPositionAdjustedToBestClickableNode(long x, long y, long widt
h, long height, Document*, ExceptionState&); | 181 ScriptValue touchPositionAdjustedToBestClickableNode(ScriptState*, long x, l
ong y, long width, long height, Document*, ExceptionState&); |
| 183 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long
height, Document*, ExceptionState&); | 182 Node* touchNodeAdjustedToBestClickableNode(long x, long y, long width, long
height, Document*, ExceptionState&); |
| 184 DOMPoint* touchPositionAdjustedToBestContextMenuNode(long x, long y, long wi
dth, long height, Document*, ExceptionState&); | 183 ScriptValue touchPositionAdjustedToBestContextMenuNode(ScriptState*, long x,
long y, long width, long height, Document*, ExceptionState&); |
| 185 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon
g height, Document*, ExceptionState&); | 184 Node* touchNodeAdjustedToBestContextMenuNode(long x, long y, long width, lon
g height, Document*, ExceptionState&); |
| 186 ClientRect* bestZoomableAreaForTouchPoint(long x, long y, long width, long h
eight, Document*, ExceptionState&); | 185 ClientRect* bestZoomableAreaForTouchPoint(long x, long y, long width, long h
eight, Document*, ExceptionState&); |
| 187 | 186 |
| 188 int lastSpellCheckRequestSequence(Document*, ExceptionState&); | 187 int lastSpellCheckRequestSequence(Document*, ExceptionState&); |
| 189 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); | 188 int lastSpellCheckProcessedSequence(Document*, ExceptionState&); |
| 190 | 189 |
| 191 Vector<AtomicString> userPreferredLanguages() const; | 190 Vector<AtomicString> userPreferredLanguages() const; |
| 192 void setUserPreferredLanguages(const Vector<String>&); | 191 void setUserPreferredLanguages(const Vector<String>&); |
| 193 | 192 |
| 194 unsigned activeDOMObjectCount(Document*); | 193 unsigned activeDOMObjectCount(Document*); |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 | 408 |
| 410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 409 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
| 411 Member<InternalRuntimeFlags> m_runtimeFlags; | 410 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 412 | 411 |
| 413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 412 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 414 }; | 413 }; |
| 415 | 414 |
| 416 } // namespace blink | 415 } // namespace blink |
| 417 | 416 |
| 418 #endif // Internals_h | 417 #endif // Internals_h |
| OLD | NEW |