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

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

Issue 2419563004: Revert of Punt touch UGI deprecation to M56 (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 #include "core/frame/LocalFrame.h" 11 #include "core/frame/LocalFrame.h"
12 #include "core/inspector/ConsoleMessage.h" 12 #include "core/inspector/ConsoleMessage.h"
13 #include "core/workers/WorkerGlobalScope.h" 13 #include "core/workers/WorkerGlobalScope.h"
14 14
15 namespace { 15 namespace {
16 16
17 enum Milestone { 17 enum Milestone {
18 M55,
18 M56, 19 M56,
19 M57, 20 M57,
20 M58, 21 M58,
21 M59, 22 M59,
22 }; 23 };
23 24
24 const char* milestoneString(Milestone milestone) { 25 const char* milestoneString(Milestone milestone) {
25 // These are the Estimated Stable Dates: 26 // These are the Estimated Stable Dates:
26 // https://www.chromium.org/developers/calendar 27 // https://www.chromium.org/developers/calendar
27 28
28 switch (milestone) { 29 switch (milestone) {
30 case M55:
31 return "M55, around December 2016";
29 case M56: 32 case M56:
30 return "M56, around January 2017"; 33 return "M56, around January 2017";
31 case M57: 34 case M57:
32 return "M57, around March 2017"; 35 return "M57, around March 2017";
33 case M58: 36 case M58:
34 return "M58, around April 2017"; 37 return "M58, around April 2017";
35 case M59: 38 case M59:
36 return "M59, around June 2017"; 39 return "M59, around June 2017";
37 } 40 }
38 41
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 "EME requires that contentType strings accepted by " 436 "EME requires that contentType strings accepted by "
434 "requestMediaKeySystemAccess() include codecs. Non-standard support " 437 "requestMediaKeySystemAccess() include codecs. Non-standard support "
435 "for contentType strings without codecs will be removed in %s. " 438 "for contentType strings without codecs will be removed in %s. "
436 "Please specify the desired codec(s) as part of the contentType.", 439 "Please specify the desired codec(s) as part of the contentType.",
437 milestoneString(M56)); 440 milestoneString(M56));
438 441
439 case UseCounter::TouchStartUserGestureUtilized: 442 case UseCounter::TouchStartUserGestureUtilized:
440 return willBeRemoved( 443 return willBeRemoved(
441 "Performing operations that require explicit user interaction on " 444 "Performing operations that require explicit user interaction on "
442 "touchstart events", 445 "touchstart events",
443 M56, "5649871251963904"); 446 M55, "5649871251963904");
444 447
445 case UseCounter::TouchMoveUserGestureUtilized: 448 case UseCounter::TouchMoveUserGestureUtilized:
446 return willBeRemoved( 449 return willBeRemoved(
447 "Performing operations that require explicit user interaction on " 450 "Performing operations that require explicit user interaction on "
448 "touchmove events", 451 "touchmove events",
449 M56, "5649871251963904"); 452 M55, "5649871251963904");
450 453
451 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 454 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
452 return willBeRemoved( 455 return willBeRemoved(
453 "Performing operations that require explicit user interaction on " 456 "Performing operations that require explicit user interaction on "
454 "touchend events that occur as part of a scroll", 457 "touchend events that occur as part of a scroll",
455 M56, "5649871251963904"); 458 M55, "5649871251963904");
456 459
457 case UseCounter::MIDIMessageEventReceivedTime: 460 case UseCounter::MIDIMessageEventReceivedTime:
458 return willBeRemoved("MIDIMessageEvent.receivedTime", M56, 461 return willBeRemoved("MIDIMessageEvent.receivedTime", M56,
459 "5665772797952000"); 462 "5665772797952000");
460 463
461 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: 464 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter:
462 return willBeRemoved("SVGSVGElement.useCurrentView", M56, 465 return willBeRemoved("SVGSVGElement.useCurrentView", M56,
463 "4511711998509056"); 466 "4511711998509056");
464 467
465 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: 468 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter:
(...skipping 14 matching lines...) Expand all
480 case UseCounter::PaymentAddressCareOf: 483 case UseCounter::PaymentAddressCareOf:
481 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328"); 484 return willBeRemoved("PaymentAddress.careOf", M56, "5728579069411328");
482 485
483 // Features that aren't deprecated don't have a deprecation message. 486 // Features that aren't deprecated don't have a deprecation message.
484 default: 487 default:
485 return String(); 488 return String();
486 } 489 }
487 } 490 }
488 491
489 } // namespace blink 492 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698