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

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

Issue 239353007: Set proper referrer for css resource fetching (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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) 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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 bool parseFontFeatureTag(CSSValueList*); 265 bool parseFontFeatureTag(CSSValueList*);
266 bool parseFontFeatureSettings(bool important); 266 bool parseFontFeatureSettings(bool important);
267 267
268 bool parseFontVariantLigatures(bool important); 268 bool parseFontVariantLigatures(bool important);
269 269
270 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&) ; 270 bool parseGeneratedImage(CSSParserValueList*, RefPtrWillBeRawPtr<CSSValue>&) ;
271 271
272 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar serValue*); 272 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveNumericValue(CSSPar serValue*);
273 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveStringValue(CSSPars erValue*); 273 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> createPrimitiveStringValue(CSSPars erValue*);
274 274
275 PassRefPtrWillBeRawPtr<CSSValue> createCSSImageValueWithReferrer(const Strin g& rawValue, const KURL&);
276
275 bool validWidthOrHeight(CSSParserValue*); 277 bool validWidthOrHeight(CSSParserValue*);
276 278
277 PassRefPtrWillBeRawPtr<CSSBasicShape> parseInsetRoundedCorners(PassRefPtrWil lBeRawPtr<CSSBasicShapeInset>, CSSParserValueList*); 279 PassRefPtrWillBeRawPtr<CSSBasicShape> parseInsetRoundedCorners(PassRefPtrWil lBeRawPtr<CSSBasicShapeInset>, CSSParserValueList*);
278 280
279 enum SizeParameterType { 281 enum SizeParameterType {
280 None, 282 None,
281 Auto, 283 Auto,
282 Length, 284 Length,
283 PageSize, 285 PageSize,
284 Orientation, 286 Orientation,
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 CSSPropertyID cssPropertyID(const CSSParserString&); 404 CSSPropertyID cssPropertyID(const CSSParserString&);
403 CSSPropertyID cssPropertyID(const String&); 405 CSSPropertyID cssPropertyID(const String&);
404 CSSValueID cssValueKeywordID(const CSSParserString&); 406 CSSValueID cssValueKeywordID(const CSSParserString&);
405 407
406 bool isKeywordPropertyID(CSSPropertyID); 408 bool isKeywordPropertyID(CSSPropertyID);
407 bool isValidKeywordPropertyAndValue(CSSPropertyID, int valueID, const CSSParserC ontext&); 409 bool isValidKeywordPropertyAndValue(CSSPropertyID, int valueID, const CSSParserC ontext&);
408 410
409 } // namespace WebCore 411 } // namespace WebCore
410 412
411 #endif // CSSPropertyParser_h 413 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698