| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights | 2 * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights |
| 3 * reserved. | 3 * 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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #include "core/html/track/VideoTrack.h" | 66 #include "core/html/track/VideoTrack.h" |
| 67 #include "core/html/track/VideoTrackList.h" | 67 #include "core/html/track/VideoTrackList.h" |
| 68 #include "core/inspector/ConsoleMessage.h" | 68 #include "core/inspector/ConsoleMessage.h" |
| 69 #include "core/layout/LayoutMedia.h" | 69 #include "core/layout/LayoutMedia.h" |
| 70 #include "core/layout/api/LayoutViewItem.h" | 70 #include "core/layout/api/LayoutViewItem.h" |
| 71 #include "core/layout/compositing/PaintLayerCompositor.h" | 71 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 72 #include "core/loader/FrameLoader.h" | 72 #include "core/loader/FrameLoader.h" |
| 73 #include "core/loader/FrameLoaderClient.h" | 73 #include "core/loader/FrameLoaderClient.h" |
| 74 #include "core/page/ChromeClient.h" | 74 #include "core/page/ChromeClient.h" |
| 75 #include "core/page/NetworkStateNotifier.h" | 75 #include "core/page/NetworkStateNotifier.h" |
| 76 #include "platform/ContentType.h" | |
| 77 #include "platform/Histogram.h" | 76 #include "platform/Histogram.h" |
| 78 #include "platform/LayoutTestSupport.h" | 77 #include "platform/LayoutTestSupport.h" |
| 79 #include "platform/MIMETypeFromURL.h" | |
| 80 #include "platform/RuntimeEnabledFeatures.h" | 78 #include "platform/RuntimeEnabledFeatures.h" |
| 81 #include "platform/UserGestureIndicator.h" | 79 #include "platform/UserGestureIndicator.h" |
| 82 #include "platform/audio/AudioBus.h" | 80 #include "platform/audio/AudioBus.h" |
| 83 #include "platform/audio/AudioSourceProviderClient.h" | 81 #include "platform/audio/AudioSourceProviderClient.h" |
| 84 #include "platform/graphics/GraphicsLayer.h" | 82 #include "platform/graphics/GraphicsLayer.h" |
| 85 #include "platform/mediastream/MediaStreamDescriptor.h" | 83 #include "platform/mediastream/MediaStreamDescriptor.h" |
| 84 #include "platform/network/mime/ContentType.h" |
| 85 #include "platform/network/mime/MIMETypeFromURL.h" |
| 86 #include "platform/weborigin/SecurityOrigin.h" | 86 #include "platform/weborigin/SecurityOrigin.h" |
| 87 #include "public/platform/Platform.h" | 87 #include "public/platform/Platform.h" |
| 88 #include "public/platform/WebAudioSourceProvider.h" | 88 #include "public/platform/WebAudioSourceProvider.h" |
| 89 #include "public/platform/WebContentDecryptionModule.h" | 89 #include "public/platform/WebContentDecryptionModule.h" |
| 90 #include "public/platform/WebInbandTextTrack.h" | 90 #include "public/platform/WebInbandTextTrack.h" |
| 91 #include "public/platform/WebMediaPlayerSource.h" | 91 #include "public/platform/WebMediaPlayerSource.h" |
| 92 #include "public/platform/WebMediaStream.h" | 92 #include "public/platform/WebMediaStream.h" |
| 93 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h
" | 93 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h
" |
| 94 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h" | 94 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h" |
| 95 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" | 95 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" |
| (...skipping 3965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4061 kMostlyFillViewportBecomeStableSeconds, BLINK_FROM_HERE); | 4061 kMostlyFillViewportBecomeStableSeconds, BLINK_FROM_HERE); |
| 4062 } | 4062 } |
| 4063 | 4063 |
| 4064 void HTMLMediaElement::viewportFillDebouncerTimerFired(TimerBase*) { | 4064 void HTMLMediaElement::viewportFillDebouncerTimerFired(TimerBase*) { |
| 4065 m_mostlyFillingViewport = true; | 4065 m_mostlyFillingViewport = true; |
| 4066 if (m_webMediaPlayer) | 4066 if (m_webMediaPlayer) |
| 4067 m_webMediaPlayer->becameDominantVisibleContent(m_mostlyFillingViewport); | 4067 m_webMediaPlayer->becameDominantVisibleContent(m_mostlyFillingViewport); |
| 4068 } | 4068 } |
| 4069 | 4069 |
| 4070 } // namespace blink | 4070 } // namespace blink |
| OLD | NEW |