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 20 matching lines...) Expand all Loading... |
31 | 31 |
32 #ifndef LayoutSliderContainer_h | 32 #ifndef LayoutSliderContainer_h |
33 #define LayoutSliderContainer_h | 33 #define LayoutSliderContainer_h |
34 | 34 |
35 #include "core/layout/LayoutFlexibleBox.h" | 35 #include "core/layout/LayoutFlexibleBox.h" |
36 | 36 |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class SliderContainerElement; | 39 class SliderContainerElement; |
40 | 40 |
41 // FIXME: Find a way to cascade appearance and adjust heights, and get rid of th
is class. | 41 // FIXME: Find a way to cascade appearance and adjust heights, and get rid of |
42 // http://webkit.org/b/62535 | 42 // this class. See http://webkit.org/b/62535 |
43 class LayoutSliderContainer : public LayoutFlexibleBox { | 43 class LayoutSliderContainer : 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 private: | 50 private: |
51 void layout() override; | 51 void layout() override; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace blink | 54 } // namespace blink |
55 | 55 |
56 #endif // LayoutSliderContainer_h | 56 #endif // LayoutSliderContainer_h |
OLD | NEW |