Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / translate / core / browser / translate_step.h
blob6a9c18ca9e18b5eb7b408c686df5243a29081ae8
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.
5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_
8 #include "base/basictypes.h"
10 namespace translate {
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
23 } // namespace translate
25 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_STEP_H_