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

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

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 22 matching lines...) Expand all
33 #define LinkRelAttribute_h 33 #define LinkRelAttribute_h
34 34
35 #include "core/CoreExport.h" 35 #include "core/CoreExport.h"
36 #include "core/dom/IconURL.h" 36 #include "core/dom/IconURL.h"
37 #include "wtf/Allocator.h" 37 #include "wtf/Allocator.h"
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_ALLOCATION(); 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 iconType() 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 isLinkSubresource() const { return m_isLinkSubresource; } 53 bool isLinkSubresource() const { return m_isLinkSubresource; }
(...skipping 14 matching lines...) Expand all
68 bool m_isLinkPreload : 1; 68 bool m_isLinkPreload : 1;
69 bool m_isLinkPrerender : 1; 69 bool m_isLinkPrerender : 1;
70 bool m_isLinkNext : 1; 70 bool m_isLinkNext : 1;
71 bool m_isImport : 1; 71 bool m_isImport : 1;
72 bool m_isManifest : 1; 72 bool m_isManifest : 1;
73 }; 73 };
74 74
75 } 75 }
76 76
77 #endif 77 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLMediaElement.h ('k') | third_party/WebKit/Source/core/html/TimeRanges.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698