OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 const LayoutPoint& accumulated_offset) const override; | 155 const LayoutPoint& accumulated_offset) const override; |
156 void AbsoluteQuads(Vector<FloatQuad>&, | 156 void AbsoluteQuads(Vector<FloatQuad>&, |
157 MapCoordinatesFlags mode = 0) const override; | 157 MapCoordinatesFlags mode = 0) const override; |
158 | 158 |
159 LayoutRect ViewRect() const override; | 159 LayoutRect ViewRect() const override; |
160 LayoutRect OverflowClipRect( | 160 LayoutRect OverflowClipRect( |
161 const LayoutPoint& location, | 161 const LayoutPoint& location, |
162 OverlayScrollbarClipBehavior = | 162 OverlayScrollbarClipBehavior = |
163 kIgnorePlatformOverlayScrollbarSize) const override; | 163 kIgnorePlatformOverlayScrollbarSize) const override; |
164 | 164 |
| 165 void CalculateScrollbarModes(ScrollbarMode& h_mode, |
| 166 ScrollbarMode& v_mode) const; |
| 167 |
165 LayoutState* GetLayoutState() const { return layout_state_; } | 168 LayoutState* GetLayoutState() const { return layout_state_; } |
166 | 169 |
167 void UpdateHitTestResult(HitTestResult&, const LayoutPoint&) override; | 170 void UpdateHitTestResult(HitTestResult&, const LayoutPoint&) override; |
168 | 171 |
169 ViewFragmentationContext* FragmentationContext() const { | 172 ViewFragmentationContext* FragmentationContext() const { |
170 return fragmentation_context_.get(); | 173 return fragmentation_context_.get(); |
171 } | 174 } |
172 | 175 |
173 LayoutUnit PageLogicalHeight() const { return page_logical_height_; } | 176 LayoutUnit PageLogicalHeight() const { return page_logical_height_; } |
174 void SetPageLogicalHeight(LayoutUnit height) { | 177 void SetPageLogicalHeight(LayoutUnit height) { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 unsigned hit_test_count_; | 301 unsigned hit_test_count_; |
299 unsigned hit_test_cache_hits_; | 302 unsigned hit_test_cache_hits_; |
300 Persistent<HitTestCache> hit_test_cache_; | 303 Persistent<HitTestCache> hit_test_cache_; |
301 }; | 304 }; |
302 | 305 |
303 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); | 306 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, IsLayoutView()); |
304 | 307 |
305 } // namespace blink | 308 } // namespace blink |
306 | 309 |
307 #endif // LayoutView_h | 310 #endif // LayoutView_h |
OLD | NEW |