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

Side by Side Diff: Source/core/html/LinkRelAttribute.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/LinkManifest.cpp ('k') | Source/core/html/LinkRelAttribute.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 bool isStyleSheet() const { return m_isStyleSheet; } 44 bool isStyleSheet() const { return m_isStyleSheet; }
45 IconType iconType() const { return m_iconType; } 45 IconType iconType() const { return m_iconType; }
46 bool isAlternate() const { return m_isAlternate; } 46 bool isAlternate() const { return m_isAlternate; }
47 bool isDNSPrefetch() const { return m_isDNSPrefetch; } 47 bool isDNSPrefetch() const { return m_isDNSPrefetch; }
48 bool isLinkPrefetch() const { return m_isLinkPrefetch; } 48 bool isLinkPrefetch() const { return m_isLinkPrefetch; }
49 bool isLinkSubresource() const { return m_isLinkSubresource; } 49 bool isLinkSubresource() const { return m_isLinkSubresource; }
50 bool isLinkPrerender() const { return m_isLinkPrerender; } 50 bool isLinkPrerender() const { return m_isLinkPrerender; }
51 bool isLinkNext() const { return m_isLinkNext; } 51 bool isLinkNext() const { return m_isLinkNext; }
52 bool isImport() const { return m_isImport; } 52 bool isImport() const { return m_isImport; }
53 bool isManifest() const { return m_isManifest; }
53 54
54 private: 55 private:
55 IconType m_iconType; 56 IconType m_iconType;
56 bool m_isStyleSheet : 1; 57 bool m_isStyleSheet : 1;
57 bool m_isAlternate : 1; 58 bool m_isAlternate : 1;
58 bool m_isDNSPrefetch : 1; 59 bool m_isDNSPrefetch : 1;
59 bool m_isLinkPrefetch : 1; 60 bool m_isLinkPrefetch : 1;
60 bool m_isLinkSubresource : 1; 61 bool m_isLinkSubresource : 1;
61 bool m_isLinkPrerender : 1; 62 bool m_isLinkPrerender : 1;
62 bool m_isLinkNext : 1; 63 bool m_isLinkNext : 1;
63 bool m_isImport : 1; 64 bool m_isImport : 1;
65 bool m_isManifest : 1;
64 }; 66 };
65 67
66 } 68 }
67 69
68 #endif 70 #endif
69 71
OLDNEW
« no previous file with comments | « Source/core/html/LinkManifest.cpp ('k') | Source/core/html/LinkRelAttribute.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698