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

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

Issue 478733002: Rename repaint to paintInvalidation for remaining methods. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
OLDNEW
1 /* 1 /*
2 * This file is part of the select element renderer in WebCore. 2 * This file is part of the select element renderer in WebCore.
3 * 3 *
4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 26 matching lines...) Expand all
37 37
38 class HTMLSelectElement; 38 class HTMLSelectElement;
39 39
40 class RenderListBox FINAL : public RenderBlockFlow { 40 class RenderListBox FINAL : public RenderBlockFlow {
41 public: 41 public:
42 explicit RenderListBox(Element*); 42 explicit RenderListBox(Element*);
43 virtual ~RenderListBox(); 43 virtual ~RenderListBox();
44 44
45 int size() const; 45 int size() const;
46 46
47 void repaintScrollbarIfNeeded(); 47 void paintInvalidationOfScrollbarIfNeeded();
48 48
49 private: 49 private:
50 HTMLSelectElement* selectElement() const; 50 HTMLSelectElement* selectElement() const;
51 51
52 virtual const char* renderName() const OVERRIDE { return "RenderListBox"; } 52 virtual const char* renderName() const OVERRIDE { return "RenderListBox"; }
53 53
54 virtual bool isListBox() const OVERRIDE { return true; } 54 virtual bool isListBox() const OVERRIDE { return true; }
55 55
56 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const OVERRIDE; 56 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const OVERRIDE;
57 57
58 virtual void stopAutoscroll() OVERRIDE; 58 virtual void stopAutoscroll() OVERRIDE;
59 59
60 void setHasVerticalScrollbar(bool hasScrollbar); 60 void setHasVerticalScrollbar(bool hasScrollbar);
61 PassRefPtr<Scrollbar> createScrollbar(); 61 PassRefPtr<Scrollbar> createScrollbar();
62 void destroyScrollbar(); 62 void destroyScrollbar();
63 63
64 LayoutUnit defaultItemHeight() const; 64 LayoutUnit defaultItemHeight() const;
65 LayoutUnit itemHeight() const; 65 LayoutUnit itemHeight() const;
66 }; 66 };
67 67
68 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); 68 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox());
69 69
70 } // namepace blink 70 } // namepace blink
71 71
72 #endif // RenderListBox_h 72 #endif // RenderListBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerScrollableArea.cpp ('k') | Source/core/rendering/RenderMultiColumnSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698