| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/html/AutoplayExperimentHelper.h" | 5 #include "core/html/AutoplayExperimentHelper.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
| 9 #include "core/frame/Settings.h" | 9 #include "core/frame/Settings.h" |
| 10 #include "core/html/HTMLMediaElement.h" | 10 #include "core/html/HTMLMediaElement.h" |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 if (mode.contains("-ifmuted")) | 356 if (mode.contains("-ifmuted")) |
| 357 value |= IfMuted; | 357 value |= IfMuted; |
| 358 if (mode.contains("-ifmobile")) | 358 if (mode.contains("-ifmobile")) |
| 359 value |= IfMobile; | 359 value |= IfMobile; |
| 360 if (mode.contains("-playmuted")) | 360 if (mode.contains("-playmuted")) |
| 361 value |= PlayMuted; | 361 value |= PlayMuted; |
| 362 | 362 |
| 363 return value; | 363 return value; |
| 364 } | 364 } |
| 365 | 365 |
| 366 } | 366 } // namespace blink |
| OLD | NEW |