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

Unified Diff: sky/engine/core/html/imports/HTMLImportTreeRoot.h

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/html/imports/HTMLImportTreeRoot.h
diff --git a/sky/engine/core/html/imports/HTMLImportTreeRoot.h b/sky/engine/core/html/imports/HTMLImportTreeRoot.h
deleted file mode 100644
index 836b3cfe654c520459700deb8fe87056a1c3d3a8..0000000000000000000000000000000000000000
--- a/sky/engine/core/html/imports/HTMLImportTreeRoot.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SKY_ENGINE_CORE_HTML_IMPORTS_HTMLIMPORTTREEROOT_H_
-#define SKY_ENGINE_CORE_HTML_IMPORTS_HTMLIMPORTTREEROOT_H_
-
-#include "sky/engine/core/html/imports/HTMLImport.h"
-#include "sky/engine/platform/Timer.h"
-#include "sky/engine/wtf/PassOwnPtr.h"
-
-namespace blink {
-
-class HTMLImportChild;
-
-class HTMLImportTreeRoot : public HTMLImport {
-public:
- static PassOwnPtr<HTMLImportTreeRoot> create(Document*);
-
- virtual ~HTMLImportTreeRoot();
-
- // HTMLImport
- virtual Document* document() const override;
- virtual bool isDone() const override;
- virtual void stateWillChange() override;
- virtual void stateDidChange() override;
-
- void scheduleRecalcState();
-
- HTMLImportChild* add(PassOwnPtr<HTMLImportChild>);
- HTMLImportChild* find(const KURL&) const;
-
-private:
- explicit HTMLImportTreeRoot(Document*);
-
- void recalcTimerFired(Timer<HTMLImportTreeRoot>*);
-
- RawPtr<Document> m_document;
- Timer<HTMLImportTreeRoot> m_recalcTimer;
-
- // List of import which has been loaded or being loaded.
- typedef Vector<OwnPtr<HTMLImportChild> > ImportList;
- ImportList m_imports;
-};
-
-DEFINE_TYPE_CASTS(HTMLImportTreeRoot, HTMLImport, import, import->isRoot(), import.isRoot());
-
-}
-
-#endif // SKY_ENGINE_CORE_HTML_IMPORTS_HTMLIMPORTTREEROOT_H_
« no previous file with comments | « sky/engine/core/html/imports/HTMLImportStateResolver.cpp ('k') | sky/engine/core/html/imports/HTMLImportTreeRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698