| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 SelectionState selectionState() const | 317 SelectionState selectionState() const |
| 318 { | 318 { |
| 319 return m_layoutObject->selectionState(); | 319 return m_layoutObject->selectionState(); |
| 320 } | 320 } |
| 321 | 321 |
| 322 Color selectionBackgroundColor() const | 322 Color selectionBackgroundColor() const |
| 323 { | 323 { |
| 324 return m_layoutObject->selectionBackgroundColor(); | 324 return m_layoutObject->selectionBackgroundColor(); |
| 325 } | 325 } |
| 326 | 326 |
| 327 Color resolveColor(const ComputedStyle& styleToUse, int colorProperty) |
| 328 { |
| 329 return m_layoutObject->resolveColor(styleToUse, colorProperty); |
| 330 } |
| 331 |
| 327 bool isInFlowPositioned() const | 332 bool isInFlowPositioned() const |
| 328 { | 333 { |
| 329 return m_layoutObject->isInFlowPositioned(); | 334 return m_layoutObject->isInFlowPositioned(); |
| 330 } | 335 } |
| 331 | 336 |
| 332 PositionWithAffinity positionForPoint(const LayoutPoint& point) | 337 PositionWithAffinity positionForPoint(const LayoutPoint& point) |
| 333 { | 338 { |
| 334 return m_layoutObject->positionForPoint(point); | 339 return m_layoutObject->positionForPoint(point); |
| 335 } | 340 } |
| 336 | 341 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | 386 |
| 382 private: | 387 private: |
| 383 LayoutObject* m_layoutObject; | 388 LayoutObject* m_layoutObject; |
| 384 | 389 |
| 385 friend class LineLayoutAPIShim; | 390 friend class LineLayoutAPIShim; |
| 386 }; | 391 }; |
| 387 | 392 |
| 388 } // namespace blink | 393 } // namespace blink |
| 389 | 394 |
| 390 #endif // LineLayoutItem_h | 395 #endif // LineLayoutItem_h |
| OLD | NEW |