Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / base / ime / text_input_flags.h
blob17fb9fb4df1e3768d6ecc810c6910a7874372119
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_
8 namespace ui {
10 // Intentionally keep in sync with blink::WebTextInputFlags defined in:
11 // third_party/WebKit/public/web/WebTextInputType.h
12 enum TextInputFlags {
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
26 } // namespace ui
28 #endif // UI_BASE_IME_TEXT_INPUT_FLAGS_H_