Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.h

Issue 2510353004: Deprecating AutoplayExperimentHelper (Closed)
Patch Set: rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 void setCapsLockState(bool enabled); 505 void setCapsLockState(bool enabled);
506 506
507 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible); 507 bool setScrollbarVisibilityInScrollableArea(Node*, bool visible);
508 508
509 // Translate given platform monotonic time in seconds to high resolution 509 // Translate given platform monotonic time in seconds to high resolution
510 // document time in seconds 510 // document time in seconds
511 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&); 511 double monotonicTimeToZeroBasedDocumentTime(double, ExceptionState&);
512 512
513 void setMediaElementNetworkState(HTMLMediaElement*, int state); 513 void setMediaElementNetworkState(HTMLMediaElement*, int state);
514 514
515 // TODO(liberato): remove once autoplay gesture override experiment concludes.
516 void triggerAutoplayViewportCheck(HTMLMediaElement*);
517
518 // Returns the run state of the node's scroll animator (see 515 // Returns the run state of the node's scroll animator (see
519 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not 516 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not
520 // have a scrollable area. 517 // have a scrollable area.
521 String getScrollAnimationState(Node*) const; 518 String getScrollAnimationState(Node*) const;
522 519
523 // Returns the run state of the node's programmatic scroll animator (see 520 // Returns the run state of the node's programmatic scroll animator (see
524 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not 521 // ScrollAnimatorCompositorCoordinater::RunState), or -1 if the node does not
525 // have a scrollable area. 522 // have a scrollable area.
526 String getProgrammaticScrollAnimationState(Node*) const; 523 String getProgrammaticScrollAnimationState(Node*) const;
527 524
(...skipping 18 matching lines...) Expand all
546 unsigned index, 543 unsigned index,
547 ExceptionState&); 544 ExceptionState&);
548 Member<InternalRuntimeFlags> m_runtimeFlags; 545 Member<InternalRuntimeFlags> m_runtimeFlags;
549 546
550 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 547 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
551 }; 548 };
552 549
553 } // namespace blink 550 } // namespace blink
554 551
555 #endif // Internals_h 552 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintInvalidator.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698