| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 // FIXME: Find a way to cascade appearance and adjust heights, and get rid of | 41 // FIXME: Find a way to cascade appearance and adjust heights, and get rid of |
| 42 // this class. See http://webkit.org/b/62535 | 42 // this class. See http://webkit.org/b/62535 |
| 43 class LayoutSliderContainer final : public LayoutFlexibleBox { | 43 class LayoutSliderContainer final : public LayoutFlexibleBox { |
| 44 public: | 44 public: |
| 45 LayoutSliderContainer(SliderContainerElement*); | 45 LayoutSliderContainer(SliderContainerElement*); |
| 46 void computeLogicalHeight(LayoutUnit logicalHeight, | 46 void computeLogicalHeight(LayoutUnit logicalHeight, |
| 47 LayoutUnit logicalTop, | 47 LayoutUnit logicalTop, |
| 48 LogicalExtentComputedValues&) const override; | 48 LogicalExtentComputedValues&) const override; |
| 49 | 49 |
| 50 char objectSize() const override { return sizeof(this); } |
| 51 |
| 50 private: | 52 private: |
| 51 void layout() override; | 53 void layout() override; |
| 52 }; | 54 }; |
| 53 | 55 |
| 54 } // namespace blink | 56 } // namespace blink |
| 55 | 57 |
| 56 #endif // LayoutSliderContainer_h | 58 #endif // LayoutSliderContainer_h |
| OLD | NEW |