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
3 // found in the LICENSE file.
6 #include "core/html/LinkManifest.h"
8 #include "core/dom/Document.h"
9 #include "core/frame/LocalFrame.h"
10 #include "core/html/HTMLLinkElement.h"
11 #include "core/loader/FrameLoaderClient.h"
15 PassOwnPtrWillBeRawPtr
<LinkManifest
> LinkManifest::create(HTMLLinkElement
* owner
)
17 return adoptPtrWillBeNoop(new LinkManifest(owner
));
20 LinkManifest::LinkManifest(HTMLLinkElement
* owner
)
25 LinkManifest::~LinkManifest()
29 void LinkManifest::process()
31 if (!m_owner
|| !m_owner
->document().frame())
34 m_owner
->document().frame()->loader().client()->dispatchDidChangeManifest();
37 bool LinkManifest::hasLoaded() const
42 void LinkManifest::ownerRemoved()