Chromium Code Reviews| Index: Source/core/layout/api/SelectionState.h |
| diff --git a/Source/core/layout/api/SelectionState.h b/Source/core/layout/api/SelectionState.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..89ff8bfd8b3c76766b4310b4e093f6e9e419e250 |
| --- /dev/null |
| +++ b/Source/core/layout/api/SelectionState.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
|
jsbell
2015/07/28 00:27:48
Nit: 2015
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef SelectionState_h |
| +#define SelectionState_h |
| + |
| +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 |
|
jsbell
2015/07/28 00:27:48
Nit: Inconsistent punctuation. End each of these c
|
| + 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 |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // SelectionState_h |