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

Side by Side Diff: Source/core/css/parser/CSSPropertyParser.h

Issue 314893003: Set referrer for CSS resources (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 | « Source/core/css/StyleRuleImport.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('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) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 bool parseFontFeatureTag(CSSValueList*); 262 bool parseFontFeatureTag(CSSValueList*);
263 bool parseFontFeatureSettings(bool important); 263 bool parseFontFeatureSettings(bool important);
264 264
265 bool parseFontVariantLigatures(bool important); 265 bool parseFontVariantLigatures(bool important);
266 266
267 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&) ; 267 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&) ;
268 268
269 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar serValue*); 269 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar serValue*);
270 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveStringValue(CSSPars erValue*); 270 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveStringValue(CSSPars erValue*);
271 271
272 PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const Strin g& rawValue, const KURL&);
273
272 bool validWidthOrHeight(CSSParserValue*); 274 bool validWidthOrHeight(CSSParserValue*);
273 275
274 PassRefPtrWillBeRawPtr<CSSBasicShape> parseInsetRoundedCorners(PassRefPtrWil lBeRawPtr<CSSBasicShapeInset>, CSSParserValueList*); 276 PassRefPtrWillBeRawPtr<CSSBasicShape> parseInsetRoundedCorners(PassRefPtrWil lBeRawPtr<CSSBasicShapeInset>, CSSParserValueList*);
275 277
276 enum SizeParameterType { 278 enum SizeParameterType {
277 None, 279 None,
278 Auto, 280 Auto,
279 Length, 281 Length,
280 PageSize, 282 PageSize,
281 Orientation, 283 Orientation,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 CSSPropertyID cssPropertyID(const CSSParserString&); 401 CSSPropertyID cssPropertyID(const CSSParserString&);
400 CSSPropertyID cssPropertyID(const String&); 402 CSSPropertyID cssPropertyID(const String&);
401 CSSValueID cssValueKeywordID(const CSSParserString&); 403 CSSValueID cssValueKeywordID(const CSSParserString&);
402 404
403 bool isKeywordPropertyID(CSSPropertyID); 405 bool isKeywordPropertyID(CSSPropertyID);
404 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 406 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
405 407
406 } // namespace WebCore 408 } // namespace WebCore
407 409
408 #endif // CSSPropertyParser_h 410 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « Source/core/css/StyleRuleImport.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698