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

Side by Side Diff: Source/core/css/parser/BisonCSSParser-in.cpp

Issue 807473002: Remove the use of :-webkit-full-screen-document. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added counter for :-webkit-full-screen Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/fullscreen.css ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 break; 814 break;
815 case CSSSelector::PseudoContent: 815 case CSSSelector::PseudoContent:
816 feature = UseCounter::CSSSelectorPseudoContent; 816 feature = UseCounter::CSSSelectorPseudoContent;
817 break; 817 break;
818 case CSSSelector::PseudoHost: 818 case CSSSelector::PseudoHost:
819 feature = UseCounter::CSSSelectorPseudoHost; 819 feature = UseCounter::CSSSelectorPseudoHost;
820 break; 820 break;
821 case CSSSelector::PseudoHostContext: 821 case CSSSelector::PseudoHostContext:
822 feature = UseCounter::CSSSelectorPseudoHostContext; 822 feature = UseCounter::CSSSelectorPseudoHostContext;
823 break; 823 break;
824 case CSSSelector::PseudoFullScreenDocument:
825 feature = UseCounter::CSSSelectorPseudoFullScreenDocument;
826 break;
827 case CSSSelector::PseudoFullScreenAncestor:
828 feature = UseCounter::CSSSelectorPseudoFullScreenAncestor;
829 break;
830 case CSSSelector::PseudoFullScreen:
831 feature = UseCounter::CSSSelectorPseudoFullScreen;
832 break;
824 default: 833 default:
825 break; 834 break;
826 } 835 }
827 if (feature != UseCounter::NumberOfFeatures) 836 if (feature != UseCounter::NumberOfFeatures)
828 context.useCounter()->count(feature); 837 context.useCounter()->count(feature);
829 if (current->relation() == CSSSelector::ShadowDeep) 838 if (current->relation() == CSSSelector::ShadowDeep)
830 context.useCounter()->count(UseCounter::CSSDeepCombinator); 839 context.useCounter()->count(UseCounter::CSSDeepCombinator);
831 if (current->selectorList()) 840 if (current->selectorList())
832 recordSelectorStats(context, *current->selectorList()); 841 recordSelectorStats(context, *current->selectorList());
833 } 842 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1141 rule->setProperties(createStylePropertySet()); 1150 rule->setProperties(createStylePropertySet());
1142 clearProperties(); 1151 clearProperties();
1143 1152
1144 StyleRuleViewport* result = rule.get(); 1153 StyleRuleViewport* result = rule.get();
1145 m_parsedRules.append(rule.release()); 1154 m_parsedRules.append(rule.release());
1146 1155
1147 return result; 1156 return result;
1148 } 1157 }
1149 1158
1150 } 1159 }
OLDNEW
« no previous file with comments | « Source/core/css/fullscreen.css ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698