| OLD | NEW |
| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 bool eval(const MediaQuery*, MediaQueryResultList*) const; | 85 bool eval(const MediaQuery*, MediaQueryResultList*) const; |
| 86 | 86 |
| 87 // Evaluates media query subexpression, ie "and (media-feature: value)" part
. | 87 // Evaluates media query subexpression, ie "and (media-feature: value)" part
. |
| 88 bool eval(const MediaQueryExp*) const; | 88 bool eval(const MediaQueryExp*) const; |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 const String mediaType() const; | 91 const String mediaType() const; |
| 92 | 92 |
| 93 String m_mediaType; | 93 String m_mediaType; |
| 94 bool m_expectedResult; | 94 bool m_expectedResult; |
| 95 RefPtr<MediaValues> m_mediaValues; | 95 RefPtrWillBePersistent<MediaValues> m_mediaValues; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace | 98 } // namespace |
| 99 #endif | 99 #endif |
| OLD | NEW |