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

Side by Side Diff: third_party/WebKit/Source/core/html/LinkRelAttribute.h

Issue 1740483004: Rename enums/functions that collide in chromium style in core/html/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-5
Patch Set: get-names-6: . Created 4 years, 9 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
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 27 matching lines...) Expand all
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class CORE_EXPORT LinkRelAttribute { 42 class CORE_EXPORT LinkRelAttribute {
43 DISALLOW_NEW(); 43 DISALLOW_NEW();
44 public: 44 public:
45 explicit LinkRelAttribute(const String& = ""); 45 explicit LinkRelAttribute(const String& = "");
46 46
47 bool isStyleSheet() const { return m_isStyleSheet; } 47 bool isStyleSheet() const { return m_isStyleSheet; }
48 IconType iconType() const { return m_iconType; } 48 IconType getIconType() const { return m_iconType; }
49 bool isAlternate() const { return m_isAlternate; } 49 bool isAlternate() const { return m_isAlternate; }
50 bool isDNSPrefetch() const { return m_isDNSPrefetch; } 50 bool isDNSPrefetch() const { return m_isDNSPrefetch; }
51 bool isPreconnect() const { return m_isPreconnect; } 51 bool isPreconnect() const { return m_isPreconnect; }
52 bool isLinkPrefetch() const { return m_isLinkPrefetch; } 52 bool isLinkPrefetch() const { return m_isLinkPrefetch; }
53 bool isLinkPreload() const { return m_isLinkPreload; } 53 bool isLinkPreload() const { return m_isLinkPreload; }
54 bool isLinkPrerender() const { return m_isLinkPrerender; } 54 bool isLinkPrerender() const { return m_isLinkPrerender; }
55 bool isLinkNext() const { return m_isLinkNext; } 55 bool isLinkNext() const { return m_isLinkNext; }
56 bool isImport() const { return m_isImport; } 56 bool isImport() const { return m_isImport; }
57 bool isManifest() const { return m_isManifest; } 57 bool isManifest() const { return m_isManifest; }
58 58
59 private: 59 private:
60 IconType m_iconType; 60 IconType m_iconType;
61 bool m_isStyleSheet : 1; 61 bool m_isStyleSheet : 1;
62 bool m_isAlternate : 1; 62 bool m_isAlternate : 1;
63 bool m_isDNSPrefetch : 1; 63 bool m_isDNSPrefetch : 1;
64 bool m_isPreconnect : 1; 64 bool m_isPreconnect : 1;
65 bool m_isLinkPrefetch : 1; 65 bool m_isLinkPrefetch : 1;
66 bool m_isLinkPreload : 1; 66 bool m_isLinkPreload : 1;
67 bool m_isLinkPrerender : 1; 67 bool m_isLinkPrerender : 1;
68 bool m_isLinkNext : 1; 68 bool m_isLinkNext : 1;
69 bool m_isImport : 1; 69 bool m_isImport : 1;
70 bool m_isManifest : 1; 70 bool m_isManifest : 1;
71 }; 71 };
72 72
73 } // namespace blink 73 } // namespace blink
74 74
75 #endif 75 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/LinkManifest.h ('k') | third_party/WebKit/Source/core/html/LinkRelAttributeTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698