| 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 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 #ifndef Internals_h | 27 #ifndef Internals_h |
| 28 #define Internals_h | 28 #define Internals_h |
| 29 | 29 |
| 30 #include "bindings/core/v8/ExceptionState.h" | 30 #include "bindings/core/v8/ExceptionState.h" |
| 31 #include "bindings/core/v8/ScriptPromise.h" | 31 #include "bindings/core/v8/ScriptPromise.h" |
| 32 #include "bindings/core/v8/ScriptState.h" | 32 #include "bindings/core/v8/ScriptState.h" |
| 33 #include "bindings/core/v8/ScriptValue.h" | 33 #include "bindings/core/v8/ScriptValue.h" |
| 34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
| 35 #include "core/css/CSSComputedStyleDeclaration.h" | 35 #include "core/css/CSSComputedStyleDeclaration.h" |
| 36 #include "core/editing/markers/DocumentMarker.h" |
| 36 #include "core/page/scrolling/ScrollingCoordinator.h" | 37 #include "core/page/scrolling/ScrollingCoordinator.h" |
| 37 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
| 38 #include "wtf/Forward.h" | 39 #include "wtf/Forward.h" |
| 39 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
| 40 | 41 |
| 41 namespace blink { | 42 namespace blink { |
| 42 | 43 |
| 43 class Animation; | 44 class Animation; |
| 44 class CallbackFunctionTest; | 45 class CallbackFunctionTest; |
| 45 class CanvasRenderingContext; | 46 class CanvasRenderingContext; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 unsigned markerCountForNode(Node*, const String&, ExceptionState&); | 177 unsigned markerCountForNode(Node*, const String&, ExceptionState&); |
| 177 unsigned activeMarkerCountForNode(Node*); | 178 unsigned activeMarkerCountForNode(Node*); |
| 178 Range* markerRangeForNode(Node*, | 179 Range* markerRangeForNode(Node*, |
| 179 const String& markerType, | 180 const String& markerType, |
| 180 unsigned index, | 181 unsigned index, |
| 181 ExceptionState&); | 182 ExceptionState&); |
| 182 String markerDescriptionForNode(Node*, | 183 String markerDescriptionForNode(Node*, |
| 183 const String& markerType, | 184 const String& markerType, |
| 184 unsigned index, | 185 unsigned index, |
| 185 ExceptionState&); | 186 ExceptionState&); |
| 186 void addTextMatchMarker(const Range*, bool isActive); | 187 void addTextMatchMarker(const Range*, |
| 188 const String& matchStatus, |
| 189 ExceptionState&); |
| 187 void addCompositionMarker(const Range*, | 190 void addCompositionMarker(const Range*, |
| 188 const String& underlineColorValue, | 191 const String& underlineColorValue, |
| 189 bool thick, | 192 bool thick, |
| 190 const String& backgroundColorValue, | 193 const String& backgroundColorValue, |
| 191 ExceptionState&); | 194 ExceptionState&); |
| 192 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool); | 195 void setMarkersActive(Node*, |
| 196 unsigned startOffset, |
| 197 unsigned endOffset, |
| 198 const String& matchStatus, |
| 199 ExceptionState&); |
| 193 void setMarkedTextMatchesAreHighlighted(Document*, bool); | 200 void setMarkedTextMatchesAreHighlighted(Document*, bool); |
| 194 | 201 |
| 195 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); | 202 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); |
| 196 String viewportAsText(Document*, | 203 String viewportAsText(Document*, |
| 197 float devicePixelRatio, | 204 float devicePixelRatio, |
| 198 int availableWidth, | 205 int availableWidth, |
| 199 int availableHeight, | 206 int availableHeight, |
| 200 ExceptionState&); | 207 ExceptionState&); |
| 201 | 208 |
| 202 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); | 209 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 const String& markerType, | 560 const String& markerType, |
| 554 unsigned index, | 561 unsigned index, |
| 555 ExceptionState&); | 562 ExceptionState&); |
| 556 Member<InternalRuntimeFlags> m_runtimeFlags; | 563 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 557 Member<Document> m_document; | 564 Member<Document> m_document; |
| 558 }; | 565 }; |
| 559 | 566 |
| 560 } // namespace blink | 567 } // namespace blink |
| 561 | 568 |
| 562 #endif // Internals_h | 569 #endif // Internals_h |
| OLD | NEW |