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

Side by Side Diff: sky/engine/core/html/HTMLStyleElement.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/HTMLCanvasElement.h ('k') | sky/engine/core/html/VoidCallback.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2010 Apple Inc. ALl rights reserved. 4 * Copyright (C) 2003, 2010 Apple Inc. ALl rights 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 17 matching lines...) Expand all
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class HTMLStyleElement; 31 class HTMLStyleElement;
32 32
33 template<typename T> class EventSender; 33 template<typename T> class EventSender;
34 typedef EventSender<HTMLStyleElement> StyleEventSender; 34 typedef EventSender<HTMLStyleElement> StyleEventSender;
35 35
36 class HTMLStyleElement final : public HTMLElement, private StyleElement { 36 class HTMLStyleElement final : public HTMLElement, private StyleElement {
37 DEFINE_WRAPPERTYPEINFO(); 37 DEFINE_WRAPPERTYPEINFO();
38 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(HTMLStyleElement);
39 public: 38 public:
40 static PassRefPtr<HTMLStyleElement> create(Document&, bool createdByParser); 39 static PassRefPtr<HTMLStyleElement> create(Document&, bool createdByParser);
41 virtual ~HTMLStyleElement(); 40 virtual ~HTMLStyleElement();
42 41
43 ContainerNode* scopingNode(); 42 ContainerNode* scopingNode();
44 43
45 using StyleElement::sheet; 44 using StyleElement::sheet;
46 45
47 virtual void trace(Visitor*) override; 46 virtual void trace(Visitor*) override;
48 47
49 private: 48 private:
50 HTMLStyleElement(Document&, bool createdByParser); 49 HTMLStyleElement(Document&, bool createdByParser);
51 50
52 // overload from HTMLElement 51 // overload from HTMLElement
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
54 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
55 virtual void didNotifySubtreeInsertionsToDocument() override; 54 virtual void didNotifySubtreeInsertionsToDocument() override;
56 virtual void removedFrom(ContainerNode*) override; 55 virtual void removedFrom(ContainerNode*) override;
57 virtual void childrenChanged(const ChildrenChange&) override; 56 virtual void childrenChanged(const ChildrenChange&) override;
58 57
59 virtual void finishParsingChildren() override; 58 virtual void finishParsingChildren() override;
60 59
61 virtual const AtomicString& media() const override; 60 virtual const AtomicString& media() const override;
62 virtual const AtomicString& type() const override; 61 virtual const AtomicString& type() const override;
63 }; 62 };
64 63
65 } // namespace blink 64 } // namespace blink
66 65
67 #endif // HTMLStyleElement_h 66 #endif // HTMLStyleElement_h
OLDNEW
« no previous file with comments | « sky/engine/core/html/HTMLCanvasElement.h ('k') | sky/engine/core/html/VoidCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698