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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 class InternalRuntimeFlags; | 60 class InternalRuntimeFlags; |
61 class InternalSettings; | 61 class InternalSettings; |
62 class Iterator; | 62 class Iterator; |
63 class LayerRectList; | 63 class LayerRectList; |
64 class LocalDOMWindow; | 64 class LocalDOMWindow; |
65 class LocalFrame; | 65 class LocalFrame; |
66 class Node; | 66 class Node; |
67 class Page; | 67 class Page; |
68 class PluginPlaceholderOptions; | 68 class PluginPlaceholderOptions; |
69 class PrivateScriptTest; | 69 class PrivateScriptTest; |
| 70 class ReadableStreamTestCase; |
70 class Range; | 71 class Range; |
71 class SerializedScriptValue; | 72 class SerializedScriptValue; |
72 class ShadowRoot; | 73 class ShadowRoot; |
73 class TypeConversions; | 74 class TypeConversions; |
74 class UnionTypesTest; | 75 class UnionTypesTest; |
75 template <typename NodeType> class StaticNodeTypeList; | 76 template <typename NodeType> class StaticNodeTypeList; |
76 typedef StaticNodeTypeList<Node> StaticNodeList; | 77 typedef StaticNodeTypeList<Node> StaticNodeList; |
77 | 78 |
78 class Internals final : public GarbageCollectedFinalized<Internals>, public Scri
ptWrappable, public ContextLifecycleObserver, public ValueIterable<int> { | 79 class Internals final : public GarbageCollectedFinalized<Internals>, public Scri
ptWrappable, public ContextLifecycleObserver, public ValueIterable<int> { |
79 DEFINE_WRAPPERTYPEINFO(); | 80 DEFINE_WRAPPERTYPEINFO(); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. | 361 // |useCounterId| must be one of the values from the UseCounter::Feature enu
m. |
361 bool isUseCounted(Document*, int useCounterId); | 362 bool isUseCounted(Document*, int useCounterId); |
362 | 363 |
363 String unscopeableAttribute(); | 364 String unscopeableAttribute(); |
364 String unscopeableMethod(); | 365 String unscopeableMethod(); |
365 | 366 |
366 ClientRectList* focusRingRects(Element*); | 367 ClientRectList* focusRingRects(Element*); |
367 | 368 |
368 void setCapsLockState(bool enabled); | 369 void setCapsLockState(bool enabled); |
369 | 370 |
| 371 ReadableStreamTestCase* createReadableStreamTestCase(ScriptState*); |
| 372 |
370 private: | 373 private: |
371 explicit Internals(ScriptState*); | 374 explicit Internals(ScriptState*); |
| 375 |
372 Document* contextDocument() const; | 376 Document* contextDocument() const; |
373 LocalFrame* frame() const; | 377 LocalFrame* frame() const; |
374 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 378 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
375 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 379 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
376 | 380 |
377 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 381 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
378 Member<InternalRuntimeFlags> m_runtimeFlags; | 382 Member<InternalRuntimeFlags> m_runtimeFlags; |
379 | 383 |
380 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 384 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
381 }; | 385 }; |
382 | 386 |
383 } // namespace blink | 387 } // namespace blink |
384 | 388 |
385 #endif // Internals_h | 389 #endif // Internals_h |
OLD | NEW |