OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MediaValuesDynamic_h | 5 #ifndef MediaValuesDynamic_h |
6 #define MediaValuesDynamic_h | 6 #define MediaValuesDynamic_h |
7 | 7 |
8 #include "core/css/MediaValues.h" | 8 #include "core/css/MediaValues.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 30 matching lines...) Expand all Loading... |
41 DECLARE_VIRTUAL_TRACE(); | 41 DECLARE_VIRTUAL_TRACE(); |
42 | 42 |
43 protected: | 43 protected: |
44 MediaValuesDynamic(LocalFrame*); | 44 MediaValuesDynamic(LocalFrame*); |
45 | 45 |
46 // This raw ptr is safe, as MediaValues would not outlive MediaQueryEvaluato
r, and | 46 // This raw ptr is safe, as MediaValues would not outlive MediaQueryEvaluato
r, and |
47 // MediaQueryEvaluator is reset on |Document::detach|. | 47 // MediaQueryEvaluator is reset on |Document::detach|. |
48 RawPtrWillBeMember<LocalFrame> m_frame; | 48 RawPtrWillBeMember<LocalFrame> m_frame; |
49 }; | 49 }; |
50 | 50 |
51 } // namespace | 51 } // namespace blink |
52 | 52 |
53 #endif // MediaValuesDynamic_h | 53 #endif // MediaValuesDynamic_h |
OLD | NEW |