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

Side by Side Diff: Source/core/rendering/RenderScrollbar.h

Issue 885483002: Oilpan: tidy up prefinalizer declarations and a registration. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/MutationObserver.h ('k') | Source/modules/webmidi/MIDIAccessInitializer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class LocalFrame; 36 class LocalFrame;
37 class Node; 37 class Node;
38 class RenderBox; 38 class RenderBox;
39 class RenderScrollbarPart; 39 class RenderScrollbarPart;
40 class RenderStyle; 40 class RenderStyle;
41 41
42 class RenderScrollbar final : public Scrollbar { 42 class RenderScrollbar final : public Scrollbar {
43 #if ENABLE(OILPAN) 43 WILL_BE_USING_PRE_FINALIZER(RenderScrollbar, destroyParts);
44 USING_PRE_FINALIZER(RenderScrollbar, destroyParts);
45 #endif
46 public: 44 public:
47 static PassRefPtrWillBeRawPtr<Scrollbar> createCustomScrollbar(ScrollableAre a*, ScrollbarOrientation, Node*, LocalFrame* owningFrame = 0); 45 static PassRefPtrWillBeRawPtr<Scrollbar> createCustomScrollbar(ScrollableAre a*, ScrollbarOrientation, Node*, LocalFrame* owningFrame = 0);
48 virtual ~RenderScrollbar(); 46 virtual ~RenderScrollbar();
49 47
50 RenderBox* owningRenderer() const; 48 RenderBox* owningRenderer() const;
51 49
52 IntRect buttonRect(ScrollbarPart); 50 IntRect buttonRect(ScrollbarPart);
53 IntRect trackRect(int startLength, int endLength); 51 IntRect trackRect(int startLength, int endLength);
54 IntRect trackPieceRectWithMargins(ScrollbarPart, const IntRect&); 52 IntRect trackPieceRectWithMargins(ScrollbarPart, const IntRect&);
55 53
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 RawPtrWillBeMember<LocalFrame> m_owningFrame; 91 RawPtrWillBeMember<LocalFrame> m_owningFrame;
94 92
95 WillBeHeapHashMap<unsigned, RawPtrWillBeMember<RenderScrollbarPart> > m_part s; 93 WillBeHeapHashMap<unsigned, RawPtrWillBeMember<RenderScrollbarPart> > m_part s;
96 }; 94 };
97 95
98 DEFINE_TYPE_CASTS(RenderScrollbar, ScrollbarThemeClient, scrollbar, scrollbar->i sCustomScrollbar(), scrollbar.isCustomScrollbar()); 96 DEFINE_TYPE_CASTS(RenderScrollbar, ScrollbarThemeClient, scrollbar, scrollbar->i sCustomScrollbar(), scrollbar.isCustomScrollbar());
99 97
100 } // namespace blink 98 } // namespace blink
101 99
102 #endif // RenderScrollbar_h 100 #endif // RenderScrollbar_h
OLDNEW
« no previous file with comments | « Source/core/dom/MutationObserver.h ('k') | Source/modules/webmidi/MIDIAccessInitializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698