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 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ 7 8 #include "build/build_config.h" 9 10 namespace translate { 11 12 // Denotes which state the user is in with respect to translate. 13 enum TranslateStep { 14 TRANSLATE_STEP_BEFORE_TRANSLATE, 15 TRANSLATE_STEP_TRANSLATING, 16 TRANSLATE_STEP_AFTER_TRANSLATE, 17 #if defined(OS_IOS) 18 TRANSLATE_STEP_NEVER_TRANSLATE, 19 #endif 20 TRANSLATE_STEP_TRANSLATE_ERROR 21 }; 22 23 } // namespace translate 24 25 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_ 26