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

Side by Side Diff: third_party/WebKit/Source/core/dom/StyleEngine.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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org)
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved. 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012 Apple Inc. All r ights reserved.
7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
9 * Copyright (C) 2011 Google Inc. All rights reserved. 9 * Copyright (C) 2011 Google Inc. All rights reserved.
10 * 10 *
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class StyleRuleFontFace; 53 class StyleRuleFontFace;
54 class StyleSheet; 54 class StyleSheet;
55 class StyleSheetContents; 55 class StyleSheetContents;
56 56
57 class CORE_EXPORT StyleEngine final : public NoBaseWillBeGarbageCollectedFinaliz ed<StyleEngine>, public CSSFontSelectorClient { 57 class CORE_EXPORT StyleEngine final : public NoBaseWillBeGarbageCollectedFinaliz ed<StyleEngine>, public CSSFontSelectorClient {
58 USING_FAST_MALLOC_WILL_BE_REMOVED(StyleEngine); 58 USING_FAST_MALLOC_WILL_BE_REMOVED(StyleEngine);
59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StyleEngine); 59 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StyleEngine);
60 public: 60 public:
61 61
62 class IgnoringPendingStylesheet : public TemporaryChange<bool> { 62 class IgnoringPendingStylesheet : public TemporaryChange<bool> {
63 DISALLOW_ALLOCATION(); 63 DISALLOW_NEW();
64 public: 64 public:
65 IgnoringPendingStylesheet(StyleEngine& engine) 65 IgnoringPendingStylesheet(StyleEngine& engine)
66 : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true) 66 : TemporaryChange<bool>(engine.m_ignorePendingStylesheets, true)
67 { 67 {
68 } 68 }
69 }; 69 };
70 70
71 friend class IgnoringPendingStylesheet; 71 friend class IgnoringPendingStylesheet;
72 72
73 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu rn adoptPtrWillBeNoop(new StyleEngine(document)); } 73 static PassOwnPtrWillBeRawPtr<StyleEngine> create(Document& document) { retu rn adoptPtrWillBeNoop(new StyleEngine(document)); }
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 RefPtrWillBeMember<CSSFontSelector> m_fontSelector; 256 RefPtrWillBeMember<CSSFontSelector> m_fontSelector;
257 257
258 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache; 258 WillBeHeapHashMap<AtomicString, RawPtrWillBeMember<StyleSheetContents>> m_te xtToSheetCache;
259 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache; 259 WillBeHeapHashMap<RawPtrWillBeMember<StyleSheetContents>, AtomicString> m_sh eetToTextCache;
260 }; 260 };
261 261
262 } 262 }
263 263
264 #endif 264 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleChangeReason.h ('k') | third_party/WebKit/Source/core/dom/TextLinkColors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698