OLD | NEW |
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 LinkRelAttribute(); | 45 LinkRelAttribute(); |
46 explicit LinkRelAttribute(const String&); | 46 explicit LinkRelAttribute(const String&); |
47 | 47 |
48 bool isStyleSheet() const { return m_isStyleSheet; } | 48 bool isStyleSheet() const { return m_isStyleSheet; } |
49 IconType iconType() const { return m_iconType; } | 49 IconType iconType() const { return m_iconType; } |
50 bool isAlternate() const { return m_isAlternate; } | 50 bool isAlternate() const { return m_isAlternate; } |
51 bool isDNSPrefetch() const { return m_isDNSPrefetch; } | 51 bool isDNSPrefetch() const { return m_isDNSPrefetch; } |
52 bool isLinkPrefetch() const { return m_isLinkPrefetch; } | 52 bool isLinkPrefetch() const { return m_isLinkPrefetch; } |
53 bool isLinkSubresource() const { return m_isLinkSubresource; } | 53 bool isLinkSubresource() const { return m_isLinkSubresource; } |
54 bool isLinkPrerender() const { return m_isLinkPrerender; } | 54 bool isLinkPrerender() const { return m_isLinkPrerender; } |
| 55 bool isLinkNext() const { return m_isLinkNext; } |
55 bool isImport() const { return m_isImport; } | 56 bool isImport() const { return m_isImport; } |
56 | 57 |
57 private: | 58 private: |
58 IconType m_iconType; | 59 IconType m_iconType; |
59 bool m_isStyleSheet : 1; | 60 bool m_isStyleSheet : 1; |
60 bool m_isAlternate : 1; | 61 bool m_isAlternate : 1; |
61 bool m_isDNSPrefetch : 1; | 62 bool m_isDNSPrefetch : 1; |
62 bool m_isLinkPrefetch : 1; | 63 bool m_isLinkPrefetch : 1; |
63 bool m_isLinkSubresource : 1; | 64 bool m_isLinkSubresource : 1; |
64 bool m_isLinkPrerender : 1; | 65 bool m_isLinkPrerender : 1; |
| 66 bool m_isLinkNext : 1; |
65 bool m_isImport : 1; | 67 bool m_isImport : 1; |
66 }; | 68 }; |
67 | 69 |
68 } | 70 } |
69 | 71 |
70 #endif | 72 #endif |
71 | 73 |
OLD | NEW |