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

Side by Side Diff: Source/core/html/imports/HTMLImportTreeRoot.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HTMLImportTreeRoot_h 5 #ifndef HTMLImportTreeRoot_h
6 #define HTMLImportTreeRoot_h 6 #define HTMLImportTreeRoot_h
7 7
8 #include "core/html/imports/HTMLImport.h" 8 #include "core/html/imports/HTMLImport.h"
9 #include "platform/Timer.h" 9 #include "platform/Timer.h"
10 #include "wtf/PassOwnPtr.h" 10 #include "wtf/PassOwnPtr.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class HTMLImportChild; 14 class HTMLImportChild;
15 class KURL; 15 class KURL;
16 16
17 class HTMLImportTreeRoot : public HTMLImport { 17 class HTMLImportTreeRoot : public HTMLImport {
18 public: 18 public:
19 static PassOwnPtrWillBeRawPtr<HTMLImportTreeRoot> create(Document*); 19 static PassOwnPtrWillBeRawPtr<HTMLImportTreeRoot> create(Document*);
20 20
21 virtual ~HTMLImportTreeRoot(); 21 virtual ~HTMLImportTreeRoot();
22 22
23 // HTMLImport 23 // HTMLImport
24 virtual Document* document() const OVERRIDE; 24 virtual Document* document() const override;
25 virtual bool isDone() const OVERRIDE; 25 virtual bool isDone() const override;
26 virtual void stateWillChange() OVERRIDE; 26 virtual void stateWillChange() override;
27 virtual void stateDidChange() OVERRIDE; 27 virtual void stateDidChange() override;
28 28
29 void scheduleRecalcState(); 29 void scheduleRecalcState();
30 30
31 HTMLImportChild* add(PassOwnPtrWillBeRawPtr<HTMLImportChild>); 31 HTMLImportChild* add(PassOwnPtrWillBeRawPtr<HTMLImportChild>);
32 HTMLImportChild* find(const KURL&) const; 32 HTMLImportChild* find(const KURL&) const;
33 33
34 virtual void trace(Visitor*) OVERRIDE; 34 virtual void trace(Visitor*) override;
35 35
36 private: 36 private:
37 explicit HTMLImportTreeRoot(Document*); 37 explicit HTMLImportTreeRoot(Document*);
38 38
39 void recalcTimerFired(Timer<HTMLImportTreeRoot>*); 39 void recalcTimerFired(Timer<HTMLImportTreeRoot>*);
40 40
41 RawPtrWillBeMember<Document> m_document; 41 RawPtrWillBeMember<Document> m_document;
42 Timer<HTMLImportTreeRoot> m_recalcTimer; 42 Timer<HTMLImportTreeRoot> m_recalcTimer;
43 43
44 // List of import which has been loaded or being loaded. 44 // List of import which has been loaded or being loaded.
45 typedef WillBeHeapVector<OwnPtrWillBeMember<HTMLImportChild> > ImportList; 45 typedef WillBeHeapVector<OwnPtrWillBeMember<HTMLImportChild> > ImportList;
46 ImportList m_imports; 46 ImportList m_imports;
47 }; 47 };
48 48
49 DEFINE_TYPE_CASTS(HTMLImportTreeRoot, HTMLImport, import, import->isRoot(), impo rt.isRoot()); 49 DEFINE_TYPE_CASTS(HTMLImportTreeRoot, HTMLImport, import, import->isRoot(), impo rt.isRoot());
50 50
51 } 51 }
52 52
53 #endif 53 #endif
OLDNEW
« no previous file with comments | « Source/core/html/imports/HTMLImportLoader.h ('k') | Source/core/html/imports/HTMLImportsController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698