| 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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 void setCapsLockState(bool enabled); | 504 void setCapsLockState(bool enabled); |
| 505 | 505 |
| 506 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); | 506 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); |
| 507 | 507 |
| 508 // Translate given platform monotonic time in seconds to high resolution | 508 // Translate given platform monotonic time in seconds to high resolution |
| 509 // document time in seconds | 509 // document time in seconds |
| 510 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&); | 510 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&); |
| 511 | 511 |
| 512 void setMediaElementNetworkState(HTMLMediaElement*, int state); | 512 void setMediaElementNetworkState(HTMLMediaElement*, int state); |
| 513 | 513 |
| 514 // TODO(liberato): remove once autoplay gesture override experiment concludes. | |
| 515 void triggerAutoplayViewportCheck(HTMLMediaElement*); | |
| 516 | |
| 517 // Returns the run state of the node's scroll animator (see | 514 // Returns the run state of the node's scroll animator (see |
| 518 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not | 515 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not |
| 519 // have a scrollable area. | 516 // have a scrollable area. |
| 520 String getScrollAnimationState(Node*) const; | 517 String getScrollAnimationState(Node*) const; |
| 521 | 518 |
| 522 // Returns the run state of the node's programmatic scroll animator (see | 519 // Returns the run state of the node's programmatic scroll animator (see |
| 523 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not | 520 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not |
| 524 // have a scrollable area. | 521 // have a scrollable area. |
| 525 String getProgrammaticScrollAnimationState(Node*) const; | 522 String getProgrammaticScrollAnimationState(Node*) const; |
| 526 | 523 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 542 unsigned index, | 539 unsigned index, |
| 543 ExceptionState&); | 540 ExceptionState&); |
| 544 Member<InternalRuntimeFlags> m_runtimeFlags; | 541 Member<InternalRuntimeFlags> m_runtimeFlags; |
| 545 | 542 |
| 546 IterationSource* startIteration(ScriptState*, ExceptionState&) override; | 543 IterationSource* startIteration(ScriptState*, ExceptionState&) override; |
| 547 }; | 544 }; |
| 548 | 545 |
| 549 } // namespace blink | 546 } // namespace blink |
| 550 | 547 |
| 551 #endif // Internals_h | 548 #endif // Internals_h |
| OLD | NEW |