| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |