| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_GFX_SELECTION_MODEL_H_ | 5 #ifndef UI_GFX_SELECTION_MODEL_H_ |
| 6 #define UI_GFX_SELECTION_MODEL_H_ | 6 #define UI_GFX_SELECTION_MODEL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
| 11 #include "ui/gfx/range/range.h" | 13 #include "ui/gfx/range/range.h" |
| 12 | 14 |
| 13 namespace gfx { | 15 namespace gfx { |
| 14 | 16 |
| 15 // VisualCursorDirection and LogicalCursorDirection represent directions of | 17 // VisualCursorDirection and LogicalCursorDirection represent directions of |
| 16 // motion of the cursor in BiDi text. The combinations that make sense are: | 18 // motion of the cursor in BiDi text. The combinations that make sense are: |
| 17 // | 19 // |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // 3 abc|FED abcFED| | 103 // 3 abc|FED abcFED| |
| 102 // 4 abcFE|D abcFE|D | 104 // 4 abcFE|D abcFE|D |
| 103 // 5 abcF|ED abcF|ED | 105 // 5 abcF|ED abcF|ED |
| 104 // 6 abc|FED abcFED| | 106 // 6 abc|FED abcFED| |
| 105 LogicalCursorDirection caret_affinity_; | 107 LogicalCursorDirection caret_affinity_; |
| 106 }; | 108 }; |
| 107 | 109 |
| 108 } // namespace gfx | 110 } // namespace gfx |
| 109 | 111 |
| 110 #endif // UI_GFX_SELECTION_MODEL_H_ | 112 #endif // UI_GFX_SELECTION_MODEL_H_ |
| OLD | NEW |