| 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 30 matching lines...) Expand all Loading... |
| 41 public: | 41 public: |
| 42 explicit LinkRelAttribute(const String& = ""); | 42 explicit LinkRelAttribute(const String& = ""); |
| 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 isPreconnect() const { return m_isPreconnect; } | 48 bool isPreconnect() const { return m_isPreconnect; } |
| 49 bool isLinkPrefetch() const { return m_isLinkPrefetch; } | 49 bool isLinkPrefetch() const { return m_isLinkPrefetch; } |
| 50 bool isLinkSubresource() const { return m_isLinkSubresource; } | 50 bool isLinkSubresource() const { return m_isLinkSubresource; } |
| 51 bool isLinkPreload() const { return m_isLinkPreload; } |
| 51 bool isLinkPrerender() const { return m_isLinkPrerender; } | 52 bool isLinkPrerender() const { return m_isLinkPrerender; } |
| 52 bool isLinkNext() const { return m_isLinkNext; } | 53 bool isLinkNext() const { return m_isLinkNext; } |
| 53 bool isImport() const { return m_isImport; } | 54 bool isImport() const { return m_isImport; } |
| 54 bool isManifest() const { return m_isManifest; } | 55 bool isManifest() const { return m_isManifest; } |
| 55 bool isTransitionExitingStylesheet() const { return m_isTransitionExitingSty
lesheet; } | 56 bool isTransitionExitingStylesheet() const { return m_isTransitionExitingSty
lesheet; } |
| 56 bool isDefaultPresentation() const { return m_isDefaultPresentation; } | 57 bool isDefaultPresentation() const { return m_isDefaultPresentation; } |
| 57 | 58 |
| 58 private: | 59 private: |
| 59 IconType m_iconType; | 60 IconType m_iconType; |
| 60 bool m_isStyleSheet : 1; | 61 bool m_isStyleSheet : 1; |
| 61 bool m_isAlternate : 1; | 62 bool m_isAlternate : 1; |
| 62 bool m_isDNSPrefetch : 1; | 63 bool m_isDNSPrefetch : 1; |
| 63 bool m_isPreconnect : 1; | 64 bool m_isPreconnect : 1; |
| 64 bool m_isLinkPrefetch : 1; | 65 bool m_isLinkPrefetch : 1; |
| 65 bool m_isLinkSubresource : 1; | 66 bool m_isLinkSubresource : 1; |
| 67 bool m_isLinkPreload : 1; |
| 66 bool m_isLinkPrerender : 1; | 68 bool m_isLinkPrerender : 1; |
| 67 bool m_isLinkNext : 1; | 69 bool m_isLinkNext : 1; |
| 68 bool m_isImport : 1; | 70 bool m_isImport : 1; |
| 69 bool m_isManifest : 1; | 71 bool m_isManifest : 1; |
| 70 bool m_isTransitionExitingStylesheet : 1; | 72 bool m_isTransitionExitingStylesheet : 1; |
| 71 bool m_isDefaultPresentation : 1; | 73 bool m_isDefaultPresentation : 1; |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 } | 76 } |
| 75 | 77 |
| 76 #endif | 78 #endif |
| 77 | 79 |
| OLD | NEW |