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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 | 393 |
394 void setMediaElementNetworkState(HTMLMediaElement*, int state); | 394 void setMediaElementNetworkState(HTMLMediaElement*, int state); |
395 | 395 |
396 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. | 396 // TODO(liberato): remove once autoplay gesture override experiment conclude
s. |
397 void triggerAutoplayViewportCheck(HTMLMediaElement*); | 397 void triggerAutoplayViewportCheck(HTMLMediaElement*); |
398 | 398 |
399 // Returns the run state of the node's scroll animator (see ScrollAnimatorCo
mpositorCoordinater::RunState), | 399 // Returns the run state of the node's scroll animator (see ScrollAnimatorCo
mpositorCoordinater::RunState), |
400 // or -1 if the node does not have a scrollable area. | 400 // or -1 if the node does not have a scrollable area. |
401 int getScrollAnimationState(Node*) const; | 401 int getScrollAnimationState(Node*) const; |
402 | 402 |
| 403 void purgeMemory(); |
| 404 |
403 private: | 405 private: |
404 explicit Internals(ScriptState*); | 406 explicit Internals(ScriptState*); |
405 Document* contextDocument() const; | 407 Document* contextDocument() const; |
406 LocalFrame* frame() const; | 408 LocalFrame* frame() const; |
407 Vector<String> iconURLs(Document*, int iconTypesMask) const; | 409 Vector<String> iconURLs(Document*, int iconTypesMask) const; |
408 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; | 410 ClientRectList* annotatedRegions(Document*, bool draggable, ExceptionState&)
; |
409 | 411 |
410 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); | 412 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex
ceptionState&); |
411 Member<InternalRuntimeFlags> m_runtimeFlags; | 413 Member<InternalRuntimeFlags> m_runtimeFlags; |
412 | 414 |
413 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 415 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
414 }; | 416 }; |
415 | 417 |
416 } // namespace blink | 418 } // namespace blink |
417 | 419 |
418 #endif // Internals_h | 420 #endif // Internals_h |
OLD | NEW |