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

Side by Side Diff: ui/gfx/selection_model.h

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 years, 3 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 | « ui/gfx/scrollbar_size.h ('k') | ui/gfx/shadow_value.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <string> 8 #include <string>
9 9
10 #include "ui/base/range/range.h" 10 #include "ui/base/range/range.h"
11 #include "ui/base/ui_export.h" 11 #include "ui/gfx/gfx_export.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 14
15 // VisualCursorDirection and LogicalCursorDirection represent directions of 15 // VisualCursorDirection and LogicalCursorDirection represent directions of
16 // motion of the cursor in BiDi text. The combinations that make sense are: 16 // motion of the cursor in BiDi text. The combinations that make sense are:
17 // 17 //
18 // base::i18n::TextDirection VisualCursorDirection LogicalCursorDirection 18 // base::i18n::TextDirection VisualCursorDirection LogicalCursorDirection
19 // LEFT_TO_RIGHT CURSOR_LEFT CURSOR_BACKWARD 19 // LEFT_TO_RIGHT CURSOR_LEFT CURSOR_BACKWARD
20 // LEFT_TO_RIGHT CURSOR_RIGHT CURSOR_FORWARD 20 // LEFT_TO_RIGHT CURSOR_RIGHT CURSOR_FORWARD
21 // RIGHT_TO_LEFT CURSOR_RIGHT CURSOR_BACKWARD 21 // RIGHT_TO_LEFT CURSOR_RIGHT CURSOR_BACKWARD
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // 3 abc|FED abcFED| 104 // 3 abc|FED abcFED|
105 // 4 abcFE|D abcFE|D 105 // 4 abcFE|D abcFE|D
106 // 5 abcF|ED abcF|ED 106 // 5 abcF|ED abcF|ED
107 // 6 abc|FED abcFED| 107 // 6 abc|FED abcFED|
108 LogicalCursorDirection caret_affinity_; 108 LogicalCursorDirection caret_affinity_;
109 }; 109 };
110 110
111 } // namespace gfx 111 } // namespace gfx
112 112
113 #endif // UI_GFX_SELECTION_MODEL_H_ 113 #endif // UI_GFX_SELECTION_MODEL_H_
OLDNEW
« no previous file with comments | « ui/gfx/scrollbar_size.h ('k') | ui/gfx/shadow_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698