| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ | 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ |
| 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ | 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 namespace translate { | 10 namespace translate { |
| 11 | 11 |
| 12 // Denotes which state the user is in with respect to translate. | 12 // Denotes which state the user is in with respect to translate. |
| 13 enum TranslateStep { | 13 enum TranslateStep { |
| 14 TRANSLATE_STEP_BEFORE_TRANSLATE, | 14 TRANSLATE_STEP_BEFORE_TRANSLATE, |
| 15 TRANSLATE_STEP_TRANSLATING, | 15 TRANSLATE_STEP_TRANSLATING, |
| 16 TRANSLATE_STEP_AFTER_TRANSLATE, | 16 TRANSLATE_STEP_AFTER_TRANSLATE, |
| 17 #if defined(OS_IOS) |
| 18 TRANSLATE_STEP_NEVER_TRANSLATE, |
| 19 #endif |
| 17 TRANSLATE_STEP_TRANSLATE_ERROR | 20 TRANSLATE_STEP_TRANSLATE_ERROR |
| 18 }; | 21 }; |
| 19 | 22 |
| 20 } // namespace translate | 23 } // namespace translate |
| 21 | 24 |
| 22 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ | 25 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ |
| OLD | NEW |