Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: third_party/WebKit/Source/core/editing/FrameSelection.h

Issue 2399663003: Reflow comments in //third_party/WebKit/Source/core/editing (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/FrameSelection.h
diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.h b/third_party/WebKit/Source/core/editing/FrameSelection.h
index 61b8aa80aa1939e7e03de0a297f46806dac6db24..1c43c7a496c3e63ea0d15992c5cf1b5dc029565d 100644
--- a/third_party/WebKit/Source/core/editing/FrameSelection.h
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.h
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
+ * reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -86,8 +87,8 @@ class CORE_EXPORT FrameSelection final
DoNotClearStrategy = 1 << 5,
DoNotAdjustInFlatTree = 1 << 6,
};
- typedef unsigned
- SetSelectionOptions; // Union of values in SetSelectionOption and EUserTriggered
+ // Union of values in SetSelectionOption and EUserTriggered
+ typedef unsigned SetSelectionOptions;
static inline EUserTriggered selectionOptionsToUserTriggered(
SetSelectionOptions options) {
return static_cast<EUserTriggered>(options & UserTriggered);
@@ -150,7 +151,8 @@ class CORE_EXPORT FrameSelection final
void selectAll();
void clear();
- // Call this after doing user-triggered selections to make it easy to delete the frame you entirely selected.
+ // Call this after doing user-triggered selections to make it easy to delete
+ // the frame you entirely selected.
void selectFrameElementInParentIfFullySelected();
bool contains(const LayoutPoint&);
@@ -188,7 +190,8 @@ class CORE_EXPORT FrameSelection final
Position start() const { return selection().start(); }
Position end() const { return selection().end(); }
- // Return the layoutObject that is responsible for painting the caret (in the selection start node)
+ // Return the layoutObject that is responsible for painting the caret (in the
+ // selection start node)
LayoutBlock* caretLayoutObject() const;
// Bounds of (possibly transformed) caret in absolute coords
@@ -202,8 +205,9 @@ class CORE_EXPORT FrameSelection final
bool isInPasswordField() const;
bool isDirectional() const { return selection().isDirectional(); }
- // If this FrameSelection has a logical range which is still valid, this function return its clone. Otherwise,
- // the return value from underlying VisibleSelection's firstRange() is returned.
+ // If this FrameSelection has a logical range which is still valid, this
+ // function return its clone. Otherwise, the return value from underlying
+ // VisibleSelection's firstRange() is returned.
Range* firstRange() const;
void documentAttached(Document*);
@@ -356,7 +360,8 @@ class CORE_EXPORT FrameSelection final
bool m_focused : 1;
- // Controls text granularity used to adjust the selection's extent in moveRangeSelectionExtent.
+ // Controls text granularity used to adjust the selection's extent in
+ // moveRangeSelectionExtent.
std::unique_ptr<GranularityStrategy> m_granularityStrategy;
const Member<FrameCaret> m_frameCaret;
« no previous file with comments | « third_party/WebKit/Source/core/editing/FrameCaret.cpp ('k') | third_party/WebKit/Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698