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

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

Issue 2312713002: Unprefix -webkit-clip-path (Closed)
Patch Set: Baselines Created 4 years, 3 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 /* 1 /*
2 * Copyright (C) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 case CSSPropertyBorderTopRightRadius: return 63; 110 case CSSPropertyBorderTopRightRadius: return 63;
111 case CSSPropertyBorderTopStyle: return 64; 111 case CSSPropertyBorderTopStyle: return 64;
112 case CSSPropertyBorderTopWidth: return 65; 112 case CSSPropertyBorderTopWidth: return 65;
113 case CSSPropertyBorderWidth: return 66; 113 case CSSPropertyBorderWidth: return 66;
114 case CSSPropertyBottom: return 67; 114 case CSSPropertyBottom: return 67;
115 case CSSPropertyBoxShadow: return 68; 115 case CSSPropertyBoxShadow: return 68;
116 case CSSPropertyBoxSizing: return 69; 116 case CSSPropertyBoxSizing: return 69;
117 case CSSPropertyCaptionSide: return 70; 117 case CSSPropertyCaptionSide: return 70;
118 case CSSPropertyClear: return 71; 118 case CSSPropertyClear: return 71;
119 case CSSPropertyClip: return 72; 119 case CSSPropertyClip: return 72;
120 case CSSPropertyWebkitClipPath: return 73; 120 case CSSPropertyAliasWebkitClipPath: return 73;
121 case CSSPropertyContent: return 74; 121 case CSSPropertyContent: return 74;
122 case CSSPropertyCounterIncrement: return 75; 122 case CSSPropertyCounterIncrement: return 75;
123 case CSSPropertyCounterReset: return 76; 123 case CSSPropertyCounterReset: return 76;
124 case CSSPropertyCursor: return 77; 124 case CSSPropertyCursor: return 77;
125 case CSSPropertyEmptyCells: return 78; 125 case CSSPropertyEmptyCells: return 78;
126 case CSSPropertyFloat: return 79; 126 case CSSPropertyFloat: return 79;
127 case CSSPropertyFontStretch: return 80; 127 case CSSPropertyFontStretch: return 80;
128 case CSSPropertyHeight: return 81; 128 case CSSPropertyHeight: return 81;
129 case CSSPropertyImageRendering: return 82; 129 case CSSPropertyImageRendering: return 82;
130 case CSSPropertyLeft: return 83; 130 case CSSPropertyLeft: return 83;
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 801 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
802 { 802 {
803 // FIXME: We may want to handle stylesheets that have multiple owners 803 // FIXME: We may want to handle stylesheets that have multiple owners
804 // https://crbug.com/242125 804 // https://crbug.com/242125
805 if (sheetContents && sheetContents->hasSingleOwnerNode()) 805 if (sheetContents && sheetContents->hasSingleOwnerNode())
806 return getFrom(sheetContents->singleOwnerDocument()); 806 return getFrom(sheetContents->singleOwnerDocument());
807 return 0; 807 return 0;
808 } 808 }
809 809
810 } // namespace blink 810 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698