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

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

Issue 7274018: Merge 89595 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 5 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 * 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 /** Evaluates a list of media queries */ 77 /** Evaluates a list of media queries */
78 bool eval(const MediaList*, CSSStyleSelector* = 0) const; 78 bool eval(const MediaList*, CSSStyleSelector* = 0) const;
79 79
80 /** Evaluates media query subexpression, ie "and (media-feature: value)" par t */ 80 /** Evaluates media query subexpression, ie "and (media-feature: value)" par t */
81 bool eval(const MediaQueryExp*) const; 81 bool eval(const MediaQueryExp*) const;
82 82
83 private: 83 private:
84 String m_mediaType; 84 String m_mediaType;
85 Frame* m_frame; // not owned 85 Frame* m_frame; // not owned
86 RenderStyle* m_style; // not owned 86 RefPtr<RenderStyle> m_style;
87 bool m_expResult; 87 bool m_expResult;
88 }; 88 };
89 89
90 } // namespace 90 } // namespace
91 #endif 91 #endif
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/media-query-evaluator-crash-expected.txt ('k') | Source/WebCore/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698