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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSStyleSheet.cpp

Issue 2856173004: Clean up bindings/core/v8 (Part 5) (Closed)
Patch Set: Fix build Created 3 years, 7 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
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, 2007, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #include "core/css/CSSStyleSheet.h" 21 #include "core/css/CSSStyleSheet.h"
22 22
23 #include "bindings/core/v8/ExceptionState.h" 23 #include "bindings/core/v8/ExceptionState.h"
24 #include "bindings/core/v8/V8BindingForCore.h" 24 #include "bindings/core/v8/V8BindingForCore.h"
25 #include "bindings/core/v8/V8PerIsolateData.h"
26 #include "core/HTMLNames.h" 25 #include "core/HTMLNames.h"
27 #include "core/SVGNames.h" 26 #include "core/SVGNames.h"
28 #include "core/css/CSSImportRule.h" 27 #include "core/css/CSSImportRule.h"
29 #include "core/css/CSSRuleList.h" 28 #include "core/css/CSSRuleList.h"
30 #include "core/css/MediaList.h" 29 #include "core/css/MediaList.h"
31 #include "core/css/StyleRule.h" 30 #include "core/css/StyleRule.h"
32 #include "core/css/StyleSheetContents.h" 31 #include "core/css/StyleSheetContents.h"
33 #include "core/css/parser/CSSParser.h" 32 #include "core/css/parser/CSSParser.h"
34 #include "core/css/parser/CSSParserContext.h" 33 #include "core/css/parser/CSSParserContext.h"
35 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
36 #include "core/dom/ExceptionCode.h" 35 #include "core/dom/ExceptionCode.h"
37 #include "core/dom/Node.h" 36 #include "core/dom/Node.h"
38 #include "core/dom/StyleEngine.h" 37 #include "core/dom/StyleEngine.h"
39 #include "core/frame/Deprecation.h" 38 #include "core/frame/Deprecation.h"
40 #include "core/html/HTMLStyleElement.h" 39 #include "core/html/HTMLStyleElement.h"
41 #include "core/probe/CoreProbes.h" 40 #include "core/probe/CoreProbes.h"
42 #include "core/svg/SVGStyleElement.h" 41 #include "core/svg/SVGStyleElement.h"
42 #include "platform/bindings/V8PerIsolateData.h"
43 #include "platform/weborigin/SecurityOrigin.h" 43 #include "platform/weborigin/SecurityOrigin.h"
44 #include "platform/wtf/text/StringBuilder.h" 44 #include "platform/wtf/text/StringBuilder.h"
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class StyleSheetCSSRuleList final : public CSSRuleList { 48 class StyleSheetCSSRuleList final : public CSSRuleList {
49 public: 49 public:
50 static StyleSheetCSSRuleList* Create(CSSStyleSheet* sheet) { 50 static StyleSheetCSSRuleList* Create(CSSStyleSheet* sheet) {
51 return new StyleSheetCSSRuleList(sheet); 51 return new StyleSheetCSSRuleList(sheet);
52 } 52 }
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 visitor->Trace(contents_); 444 visitor->Trace(contents_);
445 visitor->Trace(owner_node_); 445 visitor->Trace(owner_node_);
446 visitor->Trace(owner_rule_); 446 visitor->Trace(owner_rule_);
447 visitor->Trace(media_cssom_wrapper_); 447 visitor->Trace(media_cssom_wrapper_);
448 visitor->Trace(child_rule_cssom_wrappers_); 448 visitor->Trace(child_rule_cssom_wrappers_);
449 visitor->Trace(rule_list_cssom_wrapper_); 449 visitor->Trace(rule_list_cssom_wrapper_);
450 StyleSheet::Trace(visitor); 450 StyleSheet::Trace(visitor);
451 } 451 }
452 452
453 } // namespace blink 453 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698