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

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

Issue 989173003: Fix template angle bracket syntax in css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/MediaQuery.cpp ('k') | Source/core/css/MediaQueryEvaluator.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 * CSS Media Query Evaluator 2 * CSS Media Query Evaluator
3 * 3 *
4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. 4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 21 matching lines...) Expand all
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 33
34 namespace blink { 34 namespace blink {
35 class LocalFrame; 35 class LocalFrame;
36 class MediaQuery; 36 class MediaQuery;
37 class MediaQueryExp; 37 class MediaQueryExp;
38 class MediaQueryResult; 38 class MediaQueryResult;
39 class MediaQuerySet; 39 class MediaQuerySet;
40 class MediaValues; 40 class MediaValues;
41 41
42 typedef WillBeHeapVector<RefPtrWillBeMember<MediaQueryResult> > MediaQueryResult List; 42 typedef WillBeHeapVector<RefPtrWillBeMember<MediaQueryResult>> MediaQueryResultL ist;
43 43
44 // Class that evaluates css media queries as defined in 44 // Class that evaluates css media queries as defined in
45 // CSS3 Module "Media Queries" (http://www.w3.org/TR/css3-mediaqueries/) 45 // CSS3 Module "Media Queries" (http://www.w3.org/TR/css3-mediaqueries/)
46 // Special constructors are needed, if simple media queries are to be 46 // Special constructors are needed, if simple media queries are to be
47 // evaluated without knowledge of the medium features. This can happen 47 // evaluated without knowledge of the medium features. This can happen
48 // for example when parsing UA stylesheets, if evaluation is done 48 // for example when parsing UA stylesheets, if evaluation is done
49 // right after parsing. 49 // right after parsing.
50 // 50 //
51 // the boolean parameter is used to approximate results of evaluation, if 51 // the boolean parameter is used to approximate results of evaluation, if
52 // the device characteristics are not known. This can be used to prune the loadi ng 52 // the device characteristics are not known. This can be used to prune the loadi ng
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 private: 89 private:
90 const String mediaType() const; 90 const String mediaType() const;
91 91
92 String m_mediaType; 92 String m_mediaType;
93 bool m_expectedResult; 93 bool m_expectedResult;
94 RefPtr<MediaValues> m_mediaValues; 94 RefPtr<MediaValues> m_mediaValues;
95 }; 95 };
96 96
97 } // namespace 97 } // namespace
98 #endif 98 #endif
OLDNEW
« no previous file with comments | « Source/core/css/MediaQuery.cpp ('k') | Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698