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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*); | 147 PassRefPtrWillBeRawPtr<ClientRect> boundingBox(Element*); |
148 | 148 |
149 unsigned markerCountForNode(Node*, const String&, ExceptionState&); | 149 unsigned markerCountForNode(Node*, const String&, ExceptionState&); |
150 unsigned activeMarkerCountForNode(Node*); | 150 unsigned activeMarkerCountForNode(Node*); |
151 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker
Type, unsigned index, ExceptionState&); | 151 PassRefPtrWillBeRawPtr<Range> markerRangeForNode(Node*, const String& marker
Type, unsigned index, ExceptionState&); |
152 String markerDescriptionForNode(Node*, const String& markerType, unsigned in
dex, ExceptionState&); | 152 String markerDescriptionForNode(Node*, const String& markerType, unsigned in
dex, ExceptionState&); |
153 void addTextMatchMarker(const Range*, bool isActive); | 153 void addTextMatchMarker(const Range*, bool isActive); |
154 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool)
; | 154 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool)
; |
155 void setMarkedTextMatchesAreHighlighted(Document*, bool); | 155 void setMarkedTextMatchesAreHighlighted(Document*, bool); |
156 | 156 |
157 void setScrollViewPosition(Document*, long x, long y, ExceptionState&); | 157 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); |
158 String viewportAsText(Document*, float devicePixelRatio, int availableWidth,
int availableHeight, ExceptionState&); | 158 String viewportAsText(Document*, float devicePixelRatio, int availableWidth,
int availableHeight, ExceptionState&); |
159 | 159 |
160 bool wasLastChangeUserEdit(Element* textField, ExceptionState&); | 160 bool wasLastChangeUserEdit(Element* textField, ExceptionState&); |
161 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); | 161 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); |
162 String suggestedValue(Element*, ExceptionState&); | 162 String suggestedValue(Element*, ExceptionState&); |
163 void setSuggestedValue(Element*, const String&, ExceptionState&); | 163 void setSuggestedValue(Element*, const String&, ExceptionState&); |
164 void setEditingValue(Element* inputElement, const String&, ExceptionState&); | 164 void setEditingValue(Element* inputElement, const String&, ExceptionState&); |
165 void setAutofilled(Element*, bool enabled, ExceptionState&); | 165 void setAutofilled(Element*, bool enabled, ExceptionState&); |
166 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception
State&); | 166 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception
State&); |
167 | 167 |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); | 336 PassRefPtrWillBeRawPtr<ClientRectList> annotatedRegions(Document*, bool drag
gable, ExceptionState&); |
337 | 337 |
338 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 338 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
339 Member<InternalRuntimeFlags> m_runtimeFlags; | 339 Member<InternalRuntimeFlags> m_runtimeFlags; |
340 Member<InternalProfilers> m_profilers; | 340 Member<InternalProfilers> m_profilers; |
341 }; | 341 }; |
342 | 342 |
343 } // namespace blink | 343 } // namespace blink |
344 | 344 |
345 #endif // Internals_h | 345 #endif // Internals_h |
OLD | NEW |