OLD | NEW |
1 | 1 |
2 // Copyright 2016 The Chromium Authors. All rights reserved. | 2 // Copyright 2016 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 #ifndef LayoutViewItem_h | 6 #ifndef LayoutViewItem_h |
7 #define LayoutViewItem_h | 7 #define LayoutViewItem_h |
8 | 8 |
9 #include "core/layout/LayoutView.h" | 9 #include "core/layout/LayoutView.h" |
10 #include "core/layout/api/LayoutBlockItem.h" | 10 #include "core/layout/api/LayoutBlockItem.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 void clearSelection() | 68 void clearSelection() |
69 { | 69 { |
70 return toView()->clearSelection(); | 70 return toView()->clearSelection(); |
71 } | 71 } |
72 | 72 |
73 bool hitTest(HitTestResult& result) | 73 bool hitTest(HitTestResult& result) |
74 { | 74 { |
75 return toView()->hitTest(result); | 75 return toView()->hitTest(result); |
76 } | 76 } |
77 | 77 |
| 78 bool hitTestNoLifecycleUpdate(HitTestResult& result) |
| 79 { |
| 80 return toView()->hitTestNoLifecycleUpdate(result); |
| 81 } |
| 82 |
78 IntRect selectionBounds() | 83 IntRect selectionBounds() |
79 { | 84 { |
80 return toView()->selectionBounds(); | 85 return toView()->selectionBounds(); |
81 } | 86 } |
82 | 87 |
83 void invalidatePaintForSelection() | 88 void invalidatePaintForSelection() |
84 { | 89 { |
85 return toView()->invalidatePaintForSelection(); | 90 return toView()->invalidatePaintForSelection(); |
86 } | 91 } |
87 | 92 |
(...skipping 21 matching lines...) Expand all Loading... |
109 } | 114 } |
110 | 115 |
111 private: | 116 private: |
112 LayoutView* toView() { return toLayoutView(layoutObject()); } | 117 LayoutView* toView() { return toLayoutView(layoutObject()); } |
113 const LayoutView* toView() const { return toLayoutView(layoutObject()); } | 118 const LayoutView* toView() const { return toLayoutView(layoutObject()); } |
114 }; | 119 }; |
115 | 120 |
116 } // namespace blink | 121 } // namespace blink |
117 | 122 |
118 #endif // LayoutViewItem_h | 123 #endif // LayoutViewItem_h |
OLD | NEW |