| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "core/html/track/TextTrackList.h" | 65 #include "core/html/track/TextTrackList.h" |
| 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/IntersectionGeometry.h" | 69 #include "core/layout/IntersectionGeometry.h" |
| 70 #include "core/layout/LayoutMedia.h" | 70 #include "core/layout/LayoutMedia.h" |
| 71 #include "core/layout/api/LayoutViewItem.h" | 71 #include "core/layout/api/LayoutViewItem.h" |
| 72 #include "core/layout/compositing/PaintLayerCompositor.h" | 72 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 73 #include "core/loader/FrameLoader.h" | 73 #include "core/loader/FrameLoader.h" |
| 74 #include "core/page/ChromeClient.h" | 74 #include "core/page/ChromeClient.h" |
| 75 #include "core/page/NetworkStateNotifier.h" | |
| 76 #include "platform/Histogram.h" | 75 #include "platform/Histogram.h" |
| 77 #include "platform/LayoutTestSupport.h" | 76 #include "platform/LayoutTestSupport.h" |
| 78 #include "platform/RuntimeEnabledFeatures.h" | 77 #include "platform/RuntimeEnabledFeatures.h" |
| 79 #include "platform/UserGestureIndicator.h" | 78 #include "platform/UserGestureIndicator.h" |
| 80 #include "platform/audio/AudioBus.h" | 79 #include "platform/audio/AudioBus.h" |
| 81 #include "platform/audio/AudioSourceProviderClient.h" | 80 #include "platform/audio/AudioSourceProviderClient.h" |
| 82 #include "platform/graphics/GraphicsLayer.h" | 81 #include "platform/graphics/GraphicsLayer.h" |
| 83 #include "platform/mediastream/MediaStreamDescriptor.h" | 82 #include "platform/mediastream/MediaStreamDescriptor.h" |
| 83 #include "platform/network/NetworkStateNotifier.h" |
| 84 #include "platform/network/mime/ContentType.h" | 84 #include "platform/network/mime/ContentType.h" |
| 85 #include "platform/network/mime/MIMETypeFromURL.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
" |
| (...skipping 4080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4174 kMostlyFillViewportBecomeStableSeconds, BLINK_FROM_HERE); | 4174 kMostlyFillViewportBecomeStableSeconds, BLINK_FROM_HERE); |
| 4175 } | 4175 } |
| 4176 | 4176 |
| 4177 void HTMLMediaElement::viewportFillDebouncerTimerFired(TimerBase*) { | 4177 void HTMLMediaElement::viewportFillDebouncerTimerFired(TimerBase*) { |
| 4178 m_mostlyFillingViewport = true; | 4178 m_mostlyFillingViewport = true; |
| 4179 if (m_webMediaPlayer) | 4179 if (m_webMediaPlayer) |
| 4180 m_webMediaPlayer->becameDominantVisibleContent(m_mostlyFillingViewport); | 4180 m_webMediaPlayer->becameDominantVisibleContent(m_mostlyFillingViewport); |
| 4181 } | 4181 } |
| 4182 | 4182 |
| 4183 } // namespace blink | 4183 } // namespace blink |
| OLD | NEW |