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