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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2140133005: Remove MediaStream ended event from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/frame/Deprecation.h" 5 #include "core/frame/Deprecation.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/FrameConsole.h" 9 #include "core/frame/FrameConsole.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 354
355 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: 355 case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument:
356 return replacedWillBeRemoved("'window.postMessage(message, transferables , targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528"); 356 return replacedWillBeRemoved("'window.postMessage(message, transferables , targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528");
357 357
358 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 358 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
359 return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentT ype strings without codecs will be removed in %s. Please specify the desired cod ec(s) as part of the contentType.", milestoneString(54)); 359 return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentT ype strings without codecs will be removed in %s. Please specify the desired cod ec(s) as part of the contentType.", milestoneString(54));
360 360
361 case UseCounter::During_Microtask_SyncXHR: 361 case UseCounter::During_Microtask_SyncXHR:
362 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e xecution", 54, "5647113010544640"); 362 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e xecution", 54, "5647113010544640");
363 363
364 case UseCounter::MediaStreamOnEnded:
365 return willBeRemoved("The MediaStream 'ended' event", 54, "5730404371791 872");
366
367 case UseCounter::UntrustedEventDefaultHandled: 364 case UseCounter::UntrustedEventDefaultHandled:
368 return String::format("A DOM event generated from JavaScript has trigger ed a default action inside the browser. This behavior is non-standard and will b e removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53)); 365 return String::format("A DOM event generated from JavaScript has trigger ed a default action inside the browser. This behavior is non-standard and will b e removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53));
369 366
370 case UseCounter::UnloadHandler_Navigation: 367 case UseCounter::UnloadHandler_Navigation:
371 return "Navigating in the unload handler is deprecated and will be remov ed."; 368 return "Navigating in the unload handler is deprecated and will be remov ed.";
372 369
373 case UseCounter::TouchStartUserGestureUtilized: 370 case UseCounter::TouchStartUserGestureUtilized:
374 return willBeRemoved("Performing operations that require explicit user i nteraction on touchstart events", 54, "5649871251963904"); 371 return willBeRemoved("Performing operations that require explicit user i nteraction on touchstart events", 54, "5649871251963904");
375 372
376 case UseCounter::TouchMoveUserGestureUtilized: 373 case UseCounter::TouchMoveUserGestureUtilized:
377 return willBeRemoved("Performing operations that require explicit user i nteraction on touchmove events", 54, "5649871251963904"); 374 return willBeRemoved("Performing operations that require explicit user i nteraction on touchmove events", 54, "5649871251963904");
378 375
379 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 376 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
380 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904"); 377 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904");
381 378
382 case UseCounter::MIDIMessageEventReceivedTime: 379 case UseCounter::MIDIMessageEventReceivedTime:
383 return willBeRemoved("MIDIMessageEvent.receivedTime", 56, "5665772797952 000"); 380 return willBeRemoved("MIDIMessageEvent.receivedTime", 56, "5665772797952 000");
384 381
385 // Features that aren't deprecated don't have a deprecation message. 382 // Features that aren't deprecated don't have a deprecation message.
386 default: 383 default:
387 return String(); 384 return String();
388 } 385 }
389 } 386 }
390 387
391 } // namespace blink 388 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698