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

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

Issue 2689063002: Deprecate CSS values zoom:reset and zoom:document. (Closed)
Patch Set: add test for deprecated properties 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
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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 case UseCounter::CSSSelectorInternalMediaControlsTextTrackList: 408 case UseCounter::CSSSelectorInternalMediaControlsTextTrackList:
409 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItem: 409 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItem:
410 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItemInput: 410 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListItemInput:
411 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions: 411 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindCaptions:
412 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles: 412 case UseCounter::CSSSelectorInternalMediaControlsTextTrackListKindSubtitles:
413 return willBeRemoved( 413 return willBeRemoved(
414 "-internal-media-controls-text-track-list* selectors", M59, 414 "-internal-media-controls-text-track-list* selectors", M59,
415 "5661431349379072"); 415 "5661431349379072");
416 416
417 case UseCounter::CSSZoomReset:
418 return willBeRemoved("zoom: \"reset\"", M59, "4997605029314560");
Timothy Loh 2017/02/15 03:09:18 Here and below, quotes should be around everything
Bret 2017/02/15 20:55:59 Done.
419
420 case UseCounter::CSSZoomDocument:
421 return willBeRemoved("zoom: \"document\"", M59, "4997605029314560");
422
417 // Features that aren't deprecated don't have a deprecation message. 423 // Features that aren't deprecated don't have a deprecation message.
418 default: 424 default:
419 return String(); 425 return String();
420 } 426 }
421 } 427 }
422 428
423 } // namespace blink 429 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698