Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / core / layout / api / SelectionState.h
blob8efd5eab11d8754092d2325aca500ad0f7607dd1
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
3 // found in the LICENSE file.
5 #ifndef SelectionState_h
6 #define SelectionState_h
8 namespace blink {
10 enum SelectionState {
11 SelectionNone, // The object is not selected.
12 SelectionStart, // The object either contains the start of a selection run or is the start of a run.
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 object in that run.
18 } // namespace blink
20 #endif // SelectionState_h