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

Side by Side Diff: Source/core/html/LinkManifest.h

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | Source/core/html/LinkManifest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef LinkManifest_h
6 #define LinkManifest_h
7
8 #include "core/html/LinkResource.h"
9 #include "wtf/FastAllocBase.h"
10 #include "wtf/PassOwnPtr.h"
11 #include "wtf/RefPtr.h"
12
13 namespace WebCore {
14
15 class HTMLLinkElement;
16
17 class LinkManifest FINAL : public LinkResource {
18 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
19 public:
20
21 static PassOwnPtrWillBeRawPtr<LinkManifest> create(HTMLLinkElement* owner);
22
23 virtual ~LinkManifest();
24
25 // LinkResource
26 virtual void process() OVERRIDE;
27 virtual Type type() const OVERRIDE { return Manifest; }
28 virtual bool hasLoaded() const OVERRIDE;
29 virtual void ownerRemoved() OVERRIDE;
30
31 private:
32 explicit LinkManifest(HTMLLinkElement* owner);
33 };
34
35 }
36
37 #endif // LinkManifest_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLLinkElement.cpp ('k') | Source/core/html/LinkManifest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698