OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_ACTION_H_ | 5 #ifndef CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_ACTION_H_ |
6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_ACTION_H_ | 6 #define CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_ACTION_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 class DictionaryValue; | 11 class DictionaryValue; |
12 } | 12 } |
13 | 13 |
14 // User's action on a misspelled word. | 14 // User's action on a misspelled word. |
15 class SpellcheckAction { | 15 class SpellcheckAction { |
16 public: | 16 public: |
17 // Type of spellcheck action. | 17 // Type of spellcheck action. |
18 enum SpellcheckActionType { | 18 enum SpellcheckActionType { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 SpellcheckActionType type; | 66 SpellcheckActionType type; |
67 | 67 |
68 // The index for the user action, if applicable. | 68 // The index for the user action, if applicable. |
69 int index; | 69 int index; |
70 | 70 |
71 // The value for the user action, if applicable. | 71 // The value for the user action, if applicable. |
72 string16 value; | 72 string16 value; |
73 }; | 73 }; |
74 | 74 |
75 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_ACTION_H_ | 75 #endif // CHROME_BROWSER_SPELLCHECKER_SPELLCHECK_ACTION_H_ |
OLD | NEW |