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

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

Issue 377123002: Revert of Divorce PaintInvalidationState from LayoutState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix conflict Created 6 years, 5 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/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderListBox.cpp » ('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 * 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 virtual bool scroll(ScrollDirection, ScrollGranularity, float) OVERRIDE; 76 virtual bool scroll(ScrollDirection, ScrollGranularity, float) OVERRIDE;
77 77
78 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const OVERRIDE; 78 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Layo utUnit& maxLogicalWidth) const OVERRIDE;
79 virtual void computePreferredLogicalWidths() OVERRIDE; 79 virtual void computePreferredLogicalWidths() OVERRIDE;
80 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const OVERRIDE; 80 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode , LinePositionMode = PositionOnContainingLine) const OVERRIDE;
81 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const OVERRIDE; 81 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const OVERRIDE;
82 82
83 virtual void layout() OVERRIDE; 83 virtual void layout() OVERRIDE;
84 84
85 virtual void invalidateTreeAfterLayout(const PaintInvalidationState&) OVERRI DE FINAL; 85 virtual void invalidateTreeAfterLayout(const RenderLayerModelObject&) OVERRI DE FINAL;
86 86
87 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE; 87 virtual void addFocusRingRects(Vector<IntRect>&, const LayoutPoint& addition alOffset, const RenderLayerModelObject* paintContainer = 0) OVERRIDE;
88 88
89 virtual bool canBeProgramaticallyScrolled() const OVERRIDE { return true; } 89 virtual bool canBeProgramaticallyScrolled() const OVERRIDE { return true; }
90 virtual void autoscroll(const IntPoint&) OVERRIDE; 90 virtual void autoscroll(const IntPoint&) OVERRIDE;
91 virtual void stopAutoscroll() OVERRIDE; 91 virtual void stopAutoscroll() OVERRIDE;
92 92
93 virtual void panScroll(const IntPoint&) OVERRIDE; 93 virtual void panScroll(const IntPoint&) OVERRIDE;
94 94
95 virtual int verticalScrollbarWidth() const OVERRIDE; 95 virtual int verticalScrollbarWidth() const OVERRIDE;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int m_listItemCount; 163 int m_listItemCount;
164 164
165 RefPtr<Scrollbar> m_vBar; 165 RefPtr<Scrollbar> m_vBar;
166 }; 166 };
167 167
168 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox()); 168 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderListBox, isListBox());
169 169
170 } // namepace WebCore 170 } // namepace WebCore
171 171
172 #endif // RenderListBox_h 172 #endif // RenderListBox_h
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.cpp ('k') | Source/core/rendering/RenderListBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698