| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef LineLayoutItem_h | 5 #ifndef LineLayoutItem_h |
| 6 #define LineLayoutItem_h | 6 #define LineLayoutItem_h |
| 7 | 7 |
| 8 #include "core/layout/LayoutObject.h" | 8 #include "core/layout/LayoutObject.h" |
| 9 #include "core/layout/LayoutObjectInlines.h" | 9 #include "core/layout/LayoutObjectInlines.h" |
| 10 | 10 |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 bool visibleToHitTestRequest(const HitTestRequest& request) const | 328 bool visibleToHitTestRequest(const HitTestRequest& request) const |
| 329 { | 329 { |
| 330 return m_layoutObject->visibleToHitTestRequest(request); | 330 return m_layoutObject->visibleToHitTestRequest(request); |
| 331 } | 331 } |
| 332 | 332 |
| 333 bool hitTest(HitTestResult& result, const HitTestLocation& locationInContain
er, const LayoutPoint& accumulatedOffset, HitTestFilter filter = HitTestAll) | 333 bool hitTest(HitTestResult& result, const HitTestLocation& locationInContain
er, const LayoutPoint& accumulatedOffset, HitTestFilter filter = HitTestAll) |
| 334 { | 334 { |
| 335 return m_layoutObject->hitTest(result, locationInContainer, accumulatedO
ffset, filter); | 335 return m_layoutObject->hitTest(result, locationInContainer, accumulatedO
ffset, filter); |
| 336 } | 336 } |
| 337 | 337 |
| 338 SelectionState selectionState() const | 338 SelectionState getSelectionState() const |
| 339 { | 339 { |
| 340 return m_layoutObject->selectionState(); | 340 return m_layoutObject->getSelectionState(); |
| 341 } | 341 } |
| 342 | 342 |
| 343 Color selectionBackgroundColor() const | 343 Color selectionBackgroundColor() const |
| 344 { | 344 { |
| 345 return m_layoutObject->selectionBackgroundColor(); | 345 return m_layoutObject->selectionBackgroundColor(); |
| 346 } | 346 } |
| 347 | 347 |
| 348 Color resolveColor(const ComputedStyle& styleToUse, int colorProperty) | 348 Color resolveColor(const ComputedStyle& styleToUse, int colorProperty) |
| 349 { | 349 { |
| 350 return m_layoutObject->resolveColor(styleToUse, colorProperty); | 350 return m_layoutObject->resolveColor(styleToUse, colorProperty); |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 LayoutObject* m_layoutObject; | 419 LayoutObject* m_layoutObject; |
| 420 | 420 |
| 421 friend class LineLayoutAPIShim; | 421 friend class LineLayoutAPIShim; |
| 422 friend class LineLayoutBlockFlow; | 422 friend class LineLayoutBlockFlow; |
| 423 friend class LineLayoutRubyRun; | 423 friend class LineLayoutRubyRun; |
| 424 }; | 424 }; |
| 425 | 425 |
| 426 } // namespace blink | 426 } // namespace blink |
| 427 | 427 |
| 428 #endif // LineLayoutItem_h | 428 #endif // LineLayoutItem_h |
| OLD | NEW |