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

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

Issue 541383003: Clean up forward declarations in Source/core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/css/MediaQueryEvaluator.h ('k') | Source/core/css/MediaQueryListListener.h » ('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 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 12 matching lines...) Expand all
23 #include "bindings/core/v8/ScriptWrappable.h" 23 #include "bindings/core/v8/ScriptWrappable.h"
24 #include "core/dom/ActiveDOMObject.h" 24 #include "core/dom/ActiveDOMObject.h"
25 #include "core/events/EventTarget.h" 25 #include "core/events/EventTarget.h"
26 #include "platform/heap/Handle.h" 26 #include "platform/heap/Handle.h"
27 #include "wtf/Forward.h" 27 #include "wtf/Forward.h"
28 #include "wtf/RefCounted.h" 28 #include "wtf/RefCounted.h"
29 #include "wtf/RefPtr.h" 29 #include "wtf/RefPtr.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class Document;
34 class ExecutionContext; 33 class ExecutionContext;
35 class MediaQueryListListener; 34 class MediaQueryListListener;
36 class MediaQueryEvaluator;
37 class MediaQueryMatcher; 35 class MediaQueryMatcher;
38 class MediaQuerySet; 36 class MediaQuerySet;
39 37
40 // MediaQueryList interface is specified at http://dev.w3.org/csswg/cssom-view/# the-mediaquerylist-interface 38 // MediaQueryList interface is specified at http://dev.w3.org/csswg/cssom-view/# the-mediaquerylist-interface
41 // The objects of this class are returned by window.matchMedia. They may be used to 39 // The objects of this class are returned by window.matchMedia. They may be used to
42 // retrieve the current value of the given media query and to add/remove listene rs that 40 // retrieve the current value of the given media query and to add/remove listene rs that
43 // will be called whenever the value of the query changes. 41 // will be called whenever the value of the query changes.
44 42
45 class MediaQueryList FINAL : public RefCountedWillBeGarbageCollectedFinalized<Me diaQueryList>, public EventTargetWithInlineData, public ActiveDOMObject { 43 class MediaQueryList FINAL : public RefCountedWillBeGarbageCollectedFinalized<Me diaQueryList>, public EventTargetWithInlineData, public ActiveDOMObject {
46 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCounted<MediaQueryList>); 44 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCounted<MediaQueryList>);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 RefPtrWillBeMember<MediaQuerySet> m_media; 83 RefPtrWillBeMember<MediaQuerySet> m_media;
86 typedef WillBeHeapListHashSet<RefPtrWillBeMember<MediaQueryListListener> > L istenerList; 84 typedef WillBeHeapListHashSet<RefPtrWillBeMember<MediaQueryListListener> > L istenerList;
87 ListenerList m_listeners; 85 ListenerList m_listeners;
88 bool m_matchesDirty; 86 bool m_matchesDirty;
89 bool m_matches; 87 bool m_matches;
90 }; 88 };
91 89
92 } // namespace blink 90 } // namespace blink
93 91
94 #endif // MediaQueryList_h 92 #endif // MediaQueryList_h
OLDNEW
« no previous file with comments | « Source/core/css/MediaQueryEvaluator.h ('k') | Source/core/css/MediaQueryListListener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698