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

Side by Side Diff: Source/core/layout/api/SelectionState.h

Issue 1261653002: Move SelectionState out of LayoutObject and into Line Layout API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/layout/LayoutObject.h ('k') | Source/core/layout/line/EllipsisBox.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
jsbell 2015/07/28 00:27:48 Nit: 2015
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SelectionState_h
6 #define SelectionState_h
7
8 namespace blink {
9
10 enum SelectionState {
11 SelectionNone, // The object is not selected.
12 SelectionStart, // The object either contains the start of a selection run o r is the start of a run
jsbell 2015/07/28 00:27:48 Nit: Inconsistent punctuation. End each of these c
13 SelectionInside, // The object is fully encompassed by a selection run
14 SelectionEnd, // The object either contains the end of a selection run or is the end of a run
15 SelectionBoth // The object contains an entire run or is the sole selected o bject in that run
16 };
17
18 } // namespace blink
19
20 #endif // SelectionState_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.h ('k') | Source/core/layout/line/EllipsisBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698