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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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*, bool isActive); |
187 void addCompositionMarker(const Range*, | 188 void addCompositionMarker(const Range*, |
188 const String& underlineColorValue, | 189 const String& underlineColorValue, |
189 bool thick, | 190 bool thick, |
190 const String& backgroundColorValue, | 191 const String& backgroundColorValue, |
191 ExceptionState&); | 192 ExceptionState&); |
192 void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool); | 193 void setMarkersActive(Node*, |
194 unsigned startOffset, | |
195 unsigned endOffset, | |
196 bool isActive); | |
rlanday
2017/04/04 20:48:23
Note: I didn't convert this to use an enum because
Xiaocheng
2017/04/04 21:11:15
We just use string in IDLs. There's a lot of examp
| |
193 void setMarkedTextMatchesAreHighlighted(Document*, bool); | 197 void setMarkedTextMatchesAreHighlighted(Document*, bool); |
194 | 198 |
195 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); | 199 void setFrameViewPosition(Document*, long x, long y, ExceptionState&); |
196 String viewportAsText(Document*, | 200 String viewportAsText(Document*, |
197 float devicePixelRatio, | 201 float devicePixelRatio, |
198 int availableWidth, | 202 int availableWidth, |
199 int availableHeight, | 203 int availableHeight, |
200 ExceptionState&); | 204 ExceptionState&); |
201 | 205 |
202 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); | 206 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
553 const String& markerType, | 557 const String& markerType, |
554 unsigned index, | 558 unsigned index, |
555 ExceptionState&); | 559 ExceptionState&); |
556 Member<InternalRuntimeFlags> m_runtimeFlags; | 560 Member<InternalRuntimeFlags> m_runtimeFlags; |
557 Member<Document> m_document; | 561 Member<Document> m_document; |
558 }; | 562 }; |
559 | 563 |
560 } // namespace blink | 564 } // namespace blink |
561 | 565 |
562 #endif // Internals_h | 566 #endif // Internals_h |
OLD | NEW |