|  | Include viewport visibility checks for autoplay experiment.
If the value of the autoplayExperimentMode setting contains
"-ifviewport", then the autoplay experiment will additionally
require that the media is located in the viewport bounds.
Autoplay is deferred until it comes into view, assuming that
it passes any other autoplay experiment checks that have been
turned on.
If the value of the autoplayExperimentMode "-ifpagevisible",
then we require that the page is visible.
BUG=487345 , 402044 
Committed: https://crrev.com/e894363cd4e9b052486c26c2c3ab2adf6a500ae5 
Cr-Commit-Position: refs/heads/master@{#357911}
  
      Total comments: 100
      
     
  
   
  
   
  
   
    
  
  
    
      |  | Unified diffs | Side-by-side diffs | Delta from patch set | Stats (+574 lines, -174 lines) | Patch |  
        |  | M | third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html | View | 1 | 11 chunks | +110 lines, -19 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes-expected.txt | View |  | 2 chunks | +48 lines, -42 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/core.gypi | View | 1
        
          2
        
          3 | 1 chunk | +0 lines, -2 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/frame/FrameView.h | View | 1
        
          2
        
          3 | 1 chunk | +3 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/frame/FrameView.cpp | View | 1
        
          2
        
          3 | 1 chunk | +22 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/html/AutoplayExperimentConfig.h | View | 1 | 1 chunk | +0 lines, -50 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/html/AutoplayExperimentConfig.cpp | View | 1 | 1 chunk | +0 lines, -29 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/html/AutoplayExperimentHelper.h | View | 1 | 3 chunks | +66 lines, -5 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/html/AutoplayExperimentHelper.cpp | View | 1
        
          2 | 9 chunks | +209 lines, -26 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/html/HTMLMediaElement.h | View | 1
        
          2
        
          3 | 2 chunks | +7 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp | View | 1
        
          2
        
          3 | 1 chunk | +16 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/layout/LayoutMedia.h | View | 1
        
          2 | 1 chunk | +13 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/layout/LayoutMedia.cpp | View | 1
        
          2 | 1 chunk | +32 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/layout/LayoutVideo.h | View | 1
        
          2 | 1 chunk | +0 lines, -1 line | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/layout/LayoutVideo.cpp | View | 1
        
          2 | 1 chunk | +1 line, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/layout/LayoutView.h | View | 1
        
          2 | 3 chunks | +13 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/layout/LayoutView.cpp | View | 1
        
          2
        
          3 | 2 chunks | +22 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/testing/Internals.h | View | 1
        
          2
        
          3 | 1 chunk | +3 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/testing/Internals.cpp | View | 1
        
          2
        
          3 | 1 chunk | +6 lines, -0 lines | 0 comments | Download |  
        |  | M | third_party/WebKit/Source/core/testing/Internals.idl | View | 1
        
          2
        
          3 | 1 chunk | +3 lines, -0 lines | 0 comments | Download |  
    Total messages: 24 (7 generated)
     |