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

Side by Side Diff: third_party/WebKit/Source/core/css/PseudoStyleRequest.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 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 13 matching lines...) Expand all
24 24
25 #include "core/layout/LayoutScrollbar.h" 25 #include "core/layout/LayoutScrollbar.h"
26 #include "core/style/ComputedStyleConstants.h" 26 #include "core/style/ComputedStyleConstants.h"
27 #include "platform/scroll/ScrollTypes.h" 27 #include "platform/scroll/ScrollTypes.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 class ComputedStyle; 31 class ComputedStyle;
32 32
33 class PseudoStyleRequest { 33 class PseudoStyleRequest {
34 ALLOW_ONLY_INLINE_ALLOCATION(); 34 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
35 public: 35 public:
36 36
37 enum RequestType { ForRenderer, ForComputedStyle }; 37 enum RequestType { ForRenderer, ForComputedStyle };
38 38
39 PseudoStyleRequest(PseudoId pseudoId, LayoutScrollbar* scrollbar = 0, Scroll barPart scrollbarPart = NoPart) 39 PseudoStyleRequest(PseudoId pseudoId, LayoutScrollbar* scrollbar = 0, Scroll barPart scrollbarPart = NoPart)
40 : pseudoId(pseudoId) 40 : pseudoId(pseudoId)
41 , type(ForRenderer) 41 , type(ForRenderer)
42 , scrollbarPart(scrollbarPart) 42 , scrollbarPart(scrollbarPart)
43 , scrollbar(scrollbar) 43 , scrollbar(scrollbar)
44 { 44 {
(...skipping 20 matching lines...) Expand all
65 65
66 PseudoId pseudoId; 66 PseudoId pseudoId;
67 RequestType type; 67 RequestType type;
68 ScrollbarPart scrollbarPart; 68 ScrollbarPart scrollbarPart;
69 RawPtrWillBeMember<LayoutScrollbar> scrollbar; 69 RawPtrWillBeMember<LayoutScrollbar> scrollbar;
70 }; 70 };
71 71
72 } // namespace blink 72 } // namespace blink
73 73
74 #endif // PseudoStyleRequest_h 74 #endif // PseudoStyleRequest_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/MediaValuesCached.h ('k') | third_party/WebKit/Source/core/css/RemoteFontFaceSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698