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

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

Issue 2702603004: Merge "Selection API: Show a deprecation message for a quirky addRange() behavior." to M57 branch (Closed)
Patch Set: Created 3 years, 10 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/Source/core/editing/DOMSelection.cpp ('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"
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions: 427 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions:
428 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles: 428 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles:
429 return willBeRemoved( 429 return willBeRemoved(
430 "-internal-media-controls-text-track-list* selectors", M59, 430 "-internal-media-controls-text-track-list* selectors", M59,
431 "5661431349379072"); 431 "5661431349379072");
432 432
433 case UseCounter::FileReaderSyncInServiceWorker: 433 case UseCounter::FileReaderSyncInServiceWorker:
434 return willBeRemoved("FileReaderSync in service workers", M59, 434 return willBeRemoved("FileReaderSync in service workers", M59,
435 "5739144722513920"); 435 "5739144722513920");
436 436
437 case UseCounter::SelectionAddRangeIntersect:
438 return willBeRemoved(
439 "The behavior that Selection.addRange() merges existing Range and "
440 "the specified Range",
441 M58, "6680566019653632");
442
437 // Features that aren't deprecated don't have a deprecation message. 443 // Features that aren't deprecated don't have a deprecation message.
438 default: 444 default:
439 return String(); 445 return String();
440 } 446 }
441 } 447 }
442 448
443 } // namespace blink 449 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/DOMSelection.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698