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

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

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/MediaQuery.cpp ('k') | Source/core/css/MediaQueryExp.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 2 * CSS Media Query
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 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 || m_mediaFeature == MediaFeatureNam es::max_heightMediaFeature 65 || m_mediaFeature == MediaFeatureNam es::max_heightMediaFeature
66 || m_mediaFeature == MediaFeatureNam es::orientationMediaFeature 66 || m_mediaFeature == MediaFeatureNam es::orientationMediaFeature
67 || m_mediaFeature == MediaFeatureNam es::aspect_ratioMediaFeature 67 || m_mediaFeature == MediaFeatureNam es::aspect_ratioMediaFeature
68 || m_mediaFeature == MediaFeatureNam es::min_aspect_ratioMediaFeature 68 || m_mediaFeature == MediaFeatureNam es::min_aspect_ratioMediaFeature
69 || m_mediaFeature == MediaFeatureNam es::max_aspect_ratioMediaFeature; } 69 || m_mediaFeature == MediaFeatureNam es::max_aspect_ratioMediaFeature; }
70 70
71 String serialize() const; 71 String serialize() const;
72 72
73 PassOwnPtr<MediaQueryExp> copy() const { return adoptPtr(new MediaQueryExp(* this)); } 73 PassOwnPtr<MediaQueryExp> copy() const { return adoptPtr(new MediaQueryExp(* this)); }
74 74
75 void reportMemoryUsage(MemoryObjectInfo*) const;
76
77 private: 75 private:
78 MediaQueryExp(const AtomicString& mediaFeature, CSSParserValueList* values); 76 MediaQueryExp(const AtomicString& mediaFeature, CSSParserValueList* values);
79 77
80 AtomicString m_mediaFeature; 78 AtomicString m_mediaFeature;
81 RefPtr<CSSValue> m_value; 79 RefPtr<CSSValue> m_value;
82 bool m_isValid; 80 bool m_isValid;
83 String m_serializationCache; 81 String m_serializationCache;
84 }; 82 };
85 83
86 } // namespace 84 } // namespace
87 85
88 #endif 86 #endif
OLDNEW
« no previous file with comments | « Source/core/css/MediaQuery.cpp ('k') | Source/core/css/MediaQueryExp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698