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