Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / html / LinkManifest.cpp
blobeb67d2107ca5583777180847d93619e468742680
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.
5 #include "config.h"
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"
13 namespace blink {
15 PassOwnPtrWillBeRawPtr<LinkManifest> LinkManifest::create(HTMLLinkElement* owner)
17 return adoptPtrWillBeNoop(new LinkManifest(owner));
20 LinkManifest::LinkManifest(HTMLLinkElement* owner)
21 : LinkResource(owner)
25 LinkManifest::~LinkManifest()
29 void LinkManifest::process()
31 if (!m_owner || !m_owner->document().frame())
32 return;
34 m_owner->document().frame()->loader().client()->dispatchDidChangeManifest();
37 bool LinkManifest::hasLoaded() const
39 return false;
42 void LinkManifest::ownerRemoved()
44 process();
47 } // namespace blink