Commit 83ae2a26 authored by eae's avatar eae Committed by Commit bot

Reformat comments in core/layout/api

BUG=563793
TBR=pilgrim@chromium.org

Review-Url: https://codereview.chromium.org/2392153002
Cr-Commit-Position: refs/heads/master@{#423002}
parent 0c4d7f1f
......@@ -11,7 +11,8 @@ namespace blink {
class LayoutObject;
// TODO(pilgrim): Remove this kludge once clients have a real API and no longer need access to the underlying LayoutObject.
// TODO(pilgrim): Remove this kludge once clients have a real API and no longer
// need access to the underlying LayoutObject.
class LayoutAPIShim {
public:
static LayoutObject* layoutObjectFrom(LayoutItem item) {
......
......@@ -11,7 +11,8 @@ namespace blink {
class LayoutObject;
// TODO(pilgrim): Remove this kludge once clients have a real API and no longer need access to the underlying LayoutObject.
// TODO(pilgrim): Remove this kludge once clients have a real API and no longer
// need access to the underlying LayoutObject.
class LineLayoutAPIShim {
public:
static LayoutObject* layoutObjectFrom(LineLayoutItem item) {
......
......@@ -76,8 +76,8 @@ class LineLayoutItem {
LineLayoutBox containingBlock() const;
// Implemented in LineLayoutBoxModel.h
// Intentionally returns a LineLayoutBoxModel to avoid exposing LayoutBoxModelObject
// to the line layout code.
// Intentionally returns a LineLayoutBoxModel to avoid exposing
// LayoutBoxModelObject to the line layout code.
LineLayoutBoxModel enclosingBoxModelObject() const;
LineLayoutItem container() const {
......
......@@ -71,7 +71,8 @@ class SVGInlineTextMetricsIterator {
if (m_characterOffset == startCharacterOffset)
return;
// TODO(fs): We could walk backwards through the metrics list in these cases.
// TODO(fs): We could walk backwards through the metrics list in these
// cases.
if (m_characterOffset > startCharacterOffset)
reset(textLineLayout);
......
......@@ -8,11 +8,19 @@
namespace blink {
enum SelectionState {
SelectionNone, // The object is not selected.
SelectionStart, // The object either contains the start of a selection run or is the start of a run.
SelectionInside, // The object is fully encompassed by a selection run.
SelectionEnd, // The object either contains the end of a selection run or is the end of a run.
SelectionBoth // The object contains an entire run or is the sole selected object in that run.
// The object is not selected.
SelectionNone,
// The object either contains the start of a selection run or is the start of
// a run.
SelectionStart,
// The object is fully encompassed by a selection run.
SelectionInside,
// The object either contains the end of a selection run or is the end of a
// run.
SelectionEnd,
// The object contains an entire run or is the sole selected object in that
// run.
SelectionBoth
};
} // namespace blink
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment