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

Side by Side Diff: third_party/WebKit/Source/core/css/PseudoStyleRequest.h

Issue 1765933003: style: Rename the PseudoId enum values to CamelCase and prefix them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enum-clash-PseudoId: rebase 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) 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 DEFINE_INLINE_TRACE() 55 DEFINE_INLINE_TRACE()
56 { 56 {
57 visitor->trace(scrollbar); 57 visitor->trace(scrollbar);
58 } 58 }
59 59
60 // The spec disallows inheritance for ::backdrop. 60 // The spec disallows inheritance for ::backdrop.
61 bool allowsInheritance(const ComputedStyle* parentStyle) const 61 bool allowsInheritance(const ComputedStyle* parentStyle) const
62 { 62 {
63 return parentStyle && pseudoId != BACKDROP; 63 return parentStyle && pseudoId != PseudoIdBackdrop;
64 } 64 }
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

Powered by Google App Engine
This is Rietveld 408576698