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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool hasAutofocusRequest(Document*); | 148 bool hasAutofocusRequest(Document*); |
149 bool hasAutofocusRequest(); | 149 bool hasAutofocusRequest(); |
150 Vector<String> formControlStateOfHistoryItem(ExceptionState&); | 150 Vector<String> formControlStateOfHistoryItem(ExceptionState&); |
151 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState&
); | 151 void setFormControlStateOfHistoryItem(const Vector<String>&, ExceptionState&
); |
152 DOMWindow* pagePopupWindow() const; | 152 DOMWindow* pagePopupWindow() const; |
153 | 153 |
154 ClientRect* absoluteCaretBounds(ExceptionState&); | 154 ClientRect* absoluteCaretBounds(ExceptionState&); |
155 | 155 |
156 ClientRect* boundingBox(Element*); | 156 ClientRect* boundingBox(Element*); |
157 | 157 |
| 158 void fakeOutOfMemoryForNextArrayBufferAllocation() const; |
| 159 |
158 unsigned markerCountForNode(Node*, const String&, ExceptionState&); | 160 unsigned markerCountForNode(Node*, const String&, ExceptionState&); |
159 unsigned activeMarkerCountForNode(Node*); | 161 unsigned activeMarkerCountForNode(Node*); |
160 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker
Type, unsigned index, ExceptionState&); | 162 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker
Type, unsigned index, ExceptionState&); |
161 String markerDescriptionForNode(Node*, const String& markerType, unsigned in
dex, ExceptionState&); | 163 String markerDescriptionForNode(Node*, const String& markerType, unsigned in
dex, ExceptionState&); |
162 void addTextMatchMarker(const Range*, bool isActive); | 164 void addTextMatchMarker(const Range*, bool isActive); |
163 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool)
; | 165 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool)
; |
164 void setMarkedTextMatchesAreHighlighted(Document*, bool); | 166 void setMarkedTextMatchesAreHighlighted(Document*, bool); |
165 | 167 |
166 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); | 168 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); |
167 String viewportAsText(Document*, float devicePixelRatio, int availableWidth,
int availableHeight, ExceptionState&); | 169 String viewportAsText(Document*, float devicePixelRatio, int availableWidth,
int availableHeight, ExceptionState&); |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 | 406 |
405 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 407 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
406 Member<InternalRuntimeFlags> m_runtimeFlags; | 408 Member<InternalRuntimeFlags> m_runtimeFlags; |
407 | 409 |
408 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 410 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
409 }; | 411 }; |
410 | 412 |
411 } // namespace blink | 413 } // namespace blink |
412 | 414 |
413 #endif // Internals_h | 415 #endif // Internals_h |
OLD | NEW |