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

Side by Side Diff: Source/core/css/CSSParserMode.h

Issue 14178009: Remove CSS_REGIONS compile flag from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New version Created 7 years, 7 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/CSSParser.cpp ('k') | Source/core/css/CSSProperty.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) 2012 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
3 * Copyright (C) 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above 9 * 1. Redistributions of source code must retain the above
10 * copyright notice, this list of conditions and the following 10 * copyright notice, this list of conditions and the following
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 public: 58 public:
59 CSSParserContext(CSSParserMode, const KURL& baseURL = KURL()); 59 CSSParserContext(CSSParserMode, const KURL& baseURL = KURL());
60 CSSParserContext(Document*, const KURL& baseURL = KURL(), const String& char set = emptyString()); 60 CSSParserContext(Document*, const KURL& baseURL = KURL(), const String& char set = emptyString());
61 61
62 KURL baseURL; 62 KURL baseURL;
63 String charset; 63 String charset;
64 CSSParserMode mode; 64 CSSParserMode mode;
65 bool isHTMLDocument; 65 bool isHTMLDocument;
66 bool isCSSCustomFilterEnabled; 66 bool isCSSCustomFilterEnabled;
67 bool isCSSStickyPositionEnabled; 67 bool isCSSStickyPositionEnabled;
68 bool isCSSRegionsEnabled;
69 bool isCSSCompositingEnabled; 68 bool isCSSCompositingEnabled;
70 bool isCSSGridLayoutEnabled; 69 bool isCSSGridLayoutEnabled;
71 bool isCSSVariablesEnabled; 70 bool isCSSVariablesEnabled;
72 bool needsSiteSpecificQuirks; 71 bool needsSiteSpecificQuirks;
73 RefPtr<Document> m_document; 72 RefPtr<Document> m_document;
74 }; 73 };
75 74
76 bool operator==(const CSSParserContext&, const CSSParserContext&); 75 bool operator==(const CSSParserContext&, const CSSParserContext&);
77 inline bool operator!=(const CSSParserContext& a, const CSSParserContext& b) { r eturn !(a == b); } 76 inline bool operator!=(const CSSParserContext& a, const CSSParserContext& b) { r eturn !(a == b); }
78 77
79 const CSSParserContext& strictCSSParserContext(); 78 const CSSParserContext& strictCSSParserContext();
80 79
81 }; 80 };
82 81
83 #endif // CSSParserMode_h 82 #endif // CSSParserMode_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSParser.cpp ('k') | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698