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 UI_BASE_IME_TEXT_INPUT_FLAGS_H_
6 #define UI_BASE_IME_TEXT_INPUT_FLAGS_H_
10 // Intentionally keep in sync with blink::WebTextInputFlags defined in:
11 // third_party/WebKit/public/web/WebTextInputType.h
13 TEXT_INPUT_FLAG_NONE
= 0,
14 TEXT_INPUT_FLAG_AUTOCOMPLETE_ON
= 1 << 0,
15 TEXT_INPUT_FLAG_AUTOCOMPLETE_OFF
= 1 << 1,
16 TEXT_INPUT_FLAG_AUTOCORRECT_ON
= 1 << 2,
17 TEXT_INPUT_FLAG_AUTOCORRECT_OFF
= 1 << 3,
18 TEXT_INPUT_FLAG_SPELLCHECK_ON
= 1 << 4,
19 TEXT_INPUT_FLAG_SPELLCHECK_OFF
= 1 << 5,
20 TEXT_INPUT_FLAG_AUTOCAPITALIZE_NONE
= 1 << 6,
21 TEXT_INPUT_FLAG_AUTOCAPITALIZE_CHARACTERS
= 1 << 7,
22 TEXT_INPUT_FLAG_AUTOCAPITALIZE_WORDS
= 1 << 8,
23 TEXT_INPUT_FLAG_AUTOCAPITALIZE_SENTENCES
= 1 << 9
28 #endif // UI_BASE_IME_TEXT_INPUT_FLAGS_H_