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

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

Issue 953693002: InlinedVisitor: Migrate css to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ~MediaQuery(); 53 ~MediaQuery();
54 54
55 Restrictor restrictor() const { return m_restrictor; } 55 Restrictor restrictor() const { return m_restrictor; }
56 const ExpressionHeapVector& expressions() const { return *m_expressions; } 56 const ExpressionHeapVector& expressions() const { return *m_expressions; }
57 const String& mediaType() const { return m_mediaType; } 57 const String& mediaType() const { return m_mediaType; }
58 bool operator==(const MediaQuery& other) const; 58 bool operator==(const MediaQuery& other) const;
59 String cssText() const; 59 String cssText() const;
60 60
61 PassOwnPtrWillBeRawPtr<MediaQuery> copy() const { return adoptPtrWillBeNoop( new MediaQuery(*this)); } 61 PassOwnPtrWillBeRawPtr<MediaQuery> copy() const { return adoptPtrWillBeNoop( new MediaQuery(*this)); }
62 62
63 void trace(Visitor*); 63 DECLARE_TRACE();
64 64
65 private: 65 private:
66 MediaQuery(const MediaQuery&); 66 MediaQuery(const MediaQuery&);
67 67
68 Restrictor m_restrictor; 68 Restrictor m_restrictor;
69 String m_mediaType; 69 String m_mediaType;
70 OwnPtrWillBeMember<ExpressionHeapVector> m_expressions; 70 OwnPtrWillBeMember<ExpressionHeapVector> m_expressions;
71 String m_serializationCache; 71 String m_serializationCache;
72 72
73 String serialize() const; 73 String serialize() const;
74 }; 74 };
75 75
76 } // namespace 76 } // namespace
77 77
78 #endif 78 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698