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

Side by Side Diff: third_party/WebKit/Source/core/css/MediaList.h

Issue 2545663005: Remove MediaQuerySet:createOffMainThread. (Closed)
Patch Set: Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/css/MediaList.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2008, 2009, 2010, 2012 Apple Inc. All rights 3 * Copyright (C) 2004, 2006, 2008, 2009, 2010, 2012 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 24 matching lines...) Expand all
35 class CSSRule; 35 class CSSRule;
36 class CSSStyleSheet; 36 class CSSStyleSheet;
37 class ExceptionState; 37 class ExceptionState;
38 class MediaList; 38 class MediaList;
39 class MediaQuery; 39 class MediaQuery;
40 40
41 class CORE_EXPORT MediaQuerySet : public GarbageCollected<MediaQuerySet> { 41 class CORE_EXPORT MediaQuerySet : public GarbageCollected<MediaQuerySet> {
42 public: 42 public:
43 static MediaQuerySet* create() { return new MediaQuerySet(); } 43 static MediaQuerySet* create() { return new MediaQuerySet(); }
44 static MediaQuerySet* create(const String& mediaString); 44 static MediaQuerySet* create(const String& mediaString);
45 static MediaQuerySet* createOffMainThread(const String& mediaString);
46 45
47 bool set(const String&); 46 bool set(const String&);
48 bool add(const String&); 47 bool add(const String&);
49 bool remove(const String&); 48 bool remove(const String&);
50 49
51 void addMediaQuery(MediaQuery*); 50 void addMediaQuery(MediaQuery*);
52 51
53 const HeapVector<Member<MediaQuery>>& queryVector() const { 52 const HeapVector<Member<MediaQuery>>& queryVector() const {
54 return m_queries; 53 return m_queries;
55 } 54 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Cleared in ~CSSStyleSheet destructor when oilpan is not enabled. 106 // Cleared in ~CSSStyleSheet destructor when oilpan is not enabled.
108 Member<CSSStyleSheet> m_parentStyleSheet; 107 Member<CSSStyleSheet> m_parentStyleSheet;
109 // Cleared in the ~CSSMediaRule and ~CSSImportRule destructors when oilpan is 108 // Cleared in the ~CSSMediaRule and ~CSSImportRule destructors when oilpan is
110 // not enabled. 109 // not enabled.
111 Member<CSSRule> m_parentRule; 110 Member<CSSRule> m_parentRule;
112 }; 111 };
113 112
114 } // namespace blink 113 } // namespace blink
115 114
116 #endif 115 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/MediaList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698