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

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

Issue 723253004: Remove tons of 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/frame/Location.h ('k') | sky/engine/core/html/ClassList.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 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #if !ENABLE(OILPAN) 48 #if !ENABLE(OILPAN)
49 virtual void ref() override; 49 virtual void ref() override;
50 virtual void deref() override; 50 virtual void deref() override;
51 #endif 51 #endif
52 52
53 virtual unsigned length() const override; 53 virtual unsigned length() const override;
54 virtual const AtomicString item(unsigned index) const override; 54 virtual const AtomicString item(unsigned index) const override;
55 55
56 virtual Element* element() override { return m_element; } 56 virtual Element* element() override { return m_element; }
57 57
58 virtual void trace(Visitor*) override;
59
60 private: 58 private:
61 explicit ClassList(Element*); 59 explicit ClassList(Element*);
62 60
63 virtual bool containsInternal(const AtomicString&) const override; 61 virtual bool containsInternal(const AtomicString&) const override;
64 62
65 const SpaceSplitString& classNames() const; 63 const SpaceSplitString& classNames() const;
66 64
67 virtual const AtomicString& value() const override { return m_element->getAt tribute(HTMLNames::classAttr); } 65 virtual const AtomicString& value() const override { return m_element->getAt tribute(HTMLNames::classAttr); }
68 virtual void setValue(const AtomicString& value) override { m_element->setAt tribute(HTMLNames::classAttr, value); } 66 virtual void setValue(const AtomicString& value) override { m_element->setAt tribute(HTMLNames::classAttr, value); }
69 67
70 RawPtr<Element> m_element; 68 RawPtr<Element> m_element;
71 }; 69 };
72 70
73 } // namespace blink 71 } // namespace blink
74 72
75 #endif // ClassList_h 73 #endif // ClassList_h
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Location.h ('k') | sky/engine/core/html/ClassList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698