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

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

Issue 2408203004: 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,
19 M56, 18 M56,
20 M57, 19 M57,
21 M58, 20 M58,
22 M59, 21 M59,
23 }; 22 };
24 23
25 const char* milestoneString(Milestone milestone) { 24 const char* milestoneString(Milestone milestone) {
26 // These are the Estimated Stable Dates: 25 // These are the Estimated Stable Dates:
27 // https://www.chromium.org/developers/calendar 26 // https://www.chromium.org/developers/calendar
28 27
29 switch (milestone) { 28 switch (milestone) {
30 case M55:
31 return "M55, around December 2016";
32 case M56: 29 case M56:
33 return "M56, around January 2017"; 30 return "M56, around January 2017";
34 case M57: 31 case M57:
35 return "M57, around March 2017"; 32 return "M57, around March 2017";
36 case M58: 33 case M58:
37 return "M58, around April 2017"; 34 return "M58, around April 2017";
38 case M59: 35 case M59:
39 return "M59, around June 2017"; 36 return "M59, around June 2017";
40 } 37 }
41 38
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 "EME requires that contentType strings accepted by " 407 "EME requires that contentType strings accepted by "
411 "requestMediaKeySystemAccess() include codecs. Non-standard support " 408 "requestMediaKeySystemAccess() include codecs. Non-standard support "
412 "for contentType strings without codecs will be removed in %s. " 409 "for contentType strings without codecs will be removed in %s. "
413 "Please specify the desired codec(s) as part of the contentType.", 410 "Please specify the desired codec(s) as part of the contentType.",
414 milestoneString(M56)); 411 milestoneString(M56));
415 412
416 case UseCounter::TouchStartUserGestureUtilized: 413 case UseCounter::TouchStartUserGestureUtilized:
417 return willBeRemoved( 414 return willBeRemoved(
418 "Performing operations that require explicit user interaction on " 415 "Performing operations that require explicit user interaction on "
419 "touchstart events", 416 "touchstart events",
420 M55, "5649871251963904"); 417 M56, "5649871251963904");
421 418
422 case UseCounter::TouchMoveUserGestureUtilized: 419 case UseCounter::TouchMoveUserGestureUtilized:
423 return willBeRemoved( 420 return willBeRemoved(
424 "Performing operations that require explicit user interaction on " 421 "Performing operations that require explicit user interaction on "
425 "touchmove events", 422 "touchmove events",
426 M55, "5649871251963904"); 423 M56, "5649871251963904");
427 424
428 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 425 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
429 return willBeRemoved( 426 return willBeRemoved(
430 "Performing operations that require explicit user interaction on " 427 "Performing operations that require explicit user interaction on "
431 "touchend events that occur as part of a scroll", 428 "touchend events that occur as part of a scroll",
432 M55, "5649871251963904"); 429 M56, "5649871251963904");
433 430
434 case UseCounter::MIDIMessageEventReceivedTime: 431 case UseCounter::MIDIMessageEventReceivedTime:
435 return willBeRemoved("MIDIMessageEvent.receivedTime", M56, 432 return willBeRemoved("MIDIMessageEvent.receivedTime", M56,
436 "5665772797952000"); 433 "5665772797952000");
437 434
438 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter: 435 case UseCounter::V8SVGSVGElement_UseCurrentView_AttributeGetter:
439 return willBeRemoved("SVGSVGElement.useCurrentView", M56, 436 return willBeRemoved("SVGSVGElement.useCurrentView", M56,
440 "4511711998509056"); 437 "4511711998509056");
441 438
442 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter: 439 case UseCounter::V8SVGSVGElement_CurrentView_AttributeGetter:
(...skipping 21 matching lines...) Expand all
464 case UseCounter::VRDeprecatedGetPose: 461 case UseCounter::VRDeprecatedGetPose:
465 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 462 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
466 463
467 // Features that aren't deprecated don't have a deprecation message. 464 // Features that aren't deprecated don't have a deprecation message.
468 default: 465 default:
469 return String(); 466 return String();
470 } 467 }
471 } 468 }
472 469
473 } // namespace blink 470 } // 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