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

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

Issue 2098563003: Update deprecation message for MediaStream ended event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 case UseCounter::During_Microtask_Print: 383 case UseCounter::During_Microtask_Print:
384 return willBeRemoved("Invoking 'print()' during microtask execution", 53 , "5647113010544640"); 384 return willBeRemoved("Invoking 'print()' during microtask execution", 53 , "5647113010544640");
385 385
386 case UseCounter::During_Microtask_Prompt: 386 case UseCounter::During_Microtask_Prompt:
387 return willBeRemoved("Invoking 'prompt()' during microtask execution", 5 3, "5647113010544640"); 387 return willBeRemoved("Invoking 'prompt()' during microtask execution", 5 3, "5647113010544640");
388 388
389 case UseCounter::During_Microtask_SyncXHR: 389 case UseCounter::During_Microtask_SyncXHR:
390 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e xecution", 53, "5647113010544640"); 390 return willBeRemoved("Invoking 'send()' on a sync XHR during microtask e xecution", 53, "5647113010544640");
391 391
392 case UseCounter::MediaStreamOnEnded: 392 case UseCounter::MediaStreamOnEnded:
393 return replacedWillBeRemoved("The MediaStream 'ended' event", "the Media Stream 'inactive' event", 53, "5730404371791872"); 393 return willBeRemoved("The MediaStream 'ended' event", 54, "5730404371791 872");
394 394
395 case UseCounter::UntrustedEventDefaultHandled: 395 case UseCounter::UntrustedEventDefaultHandled:
396 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)); 396 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));
397 397
398 case UseCounter::TouchStartUserGestureUtilized: 398 case UseCounter::TouchStartUserGestureUtilized:
399 return willBeRemoved("Performing operations that require explicit user i nteraction on touchstart events", 54, "5649871251963904"); 399 return willBeRemoved("Performing operations that require explicit user i nteraction on touchstart events", 54, "5649871251963904");
400 400
401 case UseCounter::TouchMoveUserGestureUtilized: 401 case UseCounter::TouchMoveUserGestureUtilized:
402 return willBeRemoved("Performing operations that require explicit user i nteraction on touchmove events", 54, "5649871251963904"); 402 return willBeRemoved("Performing operations that require explicit user i nteraction on touchmove events", 54, "5649871251963904");
403 403
404 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 404 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
405 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904"); 405 return willBeRemoved("Performing operations that require explicit user i nteraction on touchend events that occur as part of a scroll", 54, "564987125196 3904");
406 406
407 // Features that aren't deprecated don't have a deprecation message. 407 // Features that aren't deprecated don't have a deprecation message.
408 default: 408 default:
409 return String(); 409 return String();
410 } 410 }
411 } 411 }
412 412
413 } // namespace blink 413 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698