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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 months 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) 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 #include "platform/UserGestureIndicator.h" 81 #include "platform/UserGestureIndicator.h"
82 #include "platform/audio/AudioBus.h" 82 #include "platform/audio/AudioBus.h"
83 #include "platform/audio/AudioSourceProviderClient.h" 83 #include "platform/audio/AudioSourceProviderClient.h"
84 #include "platform/graphics/GraphicsLayer.h" 84 #include "platform/graphics/GraphicsLayer.h"
85 #include "platform/mediastream/MediaStreamDescriptor.h" 85 #include "platform/mediastream/MediaStreamDescriptor.h"
86 #include "platform/network/NetworkStateNotifier.h" 86 #include "platform/network/NetworkStateNotifier.h"
87 #include "platform/network/ParsedContentType.h" 87 #include "platform/network/ParsedContentType.h"
88 #include "platform/network/mime/ContentType.h" 88 #include "platform/network/mime/ContentType.h"
89 #include "platform/network/mime/MIMETypeFromURL.h" 89 #include "platform/network/mime/MIMETypeFromURL.h"
90 #include "platform/weborigin/SecurityOrigin.h" 90 #include "platform/weborigin/SecurityOrigin.h"
91 #include "platform/wtf/AutoReset.h"
92 #include "platform/wtf/CurrentTime.h"
93 #include "platform/wtf/MathExtras.h"
94 #include "platform/wtf/PtrUtil.h"
95 #include "platform/wtf/text/CString.h"
91 #include "public/platform/Platform.h" 96 #include "public/platform/Platform.h"
92 #include "public/platform/WebAudioSourceProvider.h" 97 #include "public/platform/WebAudioSourceProvider.h"
93 #include "public/platform/WebContentDecryptionModule.h" 98 #include "public/platform/WebContentDecryptionModule.h"
94 #include "public/platform/WebInbandTextTrack.h" 99 #include "public/platform/WebInbandTextTrack.h"
95 #include "public/platform/WebMediaPlayerSource.h" 100 #include "public/platform/WebMediaPlayerSource.h"
96 #include "public/platform/WebMediaStream.h" 101 #include "public/platform/WebMediaStream.h"
97 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h " 102 #include "public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h "
98 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h" 103 #include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h"
99 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" 104 #include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h"
100 #include "wtf/AutoReset.h"
101 #include "wtf/CurrentTime.h"
102 #include "wtf/MathExtras.h"
103 #include "wtf/PtrUtil.h"
104 #include "wtf/text/CString.h"
105 105
106 #ifndef BLINK_MEDIA_LOG 106 #ifndef BLINK_MEDIA_LOG
107 #define BLINK_MEDIA_LOG DVLOG(3) 107 #define BLINK_MEDIA_LOG DVLOG(3)
108 #endif 108 #endif
109 109
110 #ifndef LOG_MEDIA_EVENTS 110 #ifndef LOG_MEDIA_EVENTS
111 // Default to not logging events because so many are generated they can 111 // Default to not logging events because so many are generated they can
112 // overwhelm the rest of the logging. 112 // overwhelm the rest of the logging.
113 #define LOG_MEDIA_EVENTS 0 113 #define LOG_MEDIA_EVENTS 0
114 #endif 114 #endif
(...skipping 4153 matching lines...) Expand 10 before | Expand all | Expand 10 after
4268 kMostlyFillViewportBecomeStableSeconds, BLINK_FROM_HERE); 4268 kMostlyFillViewportBecomeStableSeconds, BLINK_FROM_HERE);
4269 } 4269 }
4270 4270
4271 void HTMLMediaElement::ViewportFillDebouncerTimerFired(TimerBase*) { 4271 void HTMLMediaElement::ViewportFillDebouncerTimerFired(TimerBase*) {
4272 mostly_filling_viewport_ = true; 4272 mostly_filling_viewport_ = true;
4273 if (web_media_player_) 4273 if (web_media_player_)
4274 web_media_player_->BecameDominantVisibleContent(mostly_filling_viewport_); 4274 web_media_player_->BecameDominantVisibleContent(mostly_filling_viewport_);
4275 } 4275 }
4276 4276
4277 } // namespace blink 4277 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMetaElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698