Home | History | Annotate | Download | only in ime
      1 // Copyright 2013 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 UI_BASE_IME_TEXT_INPUT_MODE_H_
      6 #define UI_BASE_IME_TEXT_INPUT_MODE_H_
      7 
      8 namespace ui {
      9 
     10 // This mode corrensponds to inputmode
     11 // http://www.whatwg.org/specs/web-apps/current-work/#attr-fe-inputmode
     12 enum TextInputMode {
     13   TEXT_INPUT_MODE_DEFAULT,
     14   TEXT_INPUT_MODE_VERBATIM,
     15   TEXT_INPUT_MODE_LATIN,
     16   TEXT_INPUT_MODE_LATIN_NAME,
     17   TEXT_INPUT_MODE_LATIN_PROSE,
     18   TEXT_INPUT_MODE_FULL_WIDTH_LATIN,
     19   TEXT_INPUT_MODE_KANA,
     20   TEXT_INPUT_MODE_KATAKANA,
     21   TEXT_INPUT_MODE_NUMERIC,
     22   TEXT_INPUT_MODE_TEL,
     23   TEXT_INPUT_MODE_EMAIL,
     24   TEXT_INPUT_MODE_URL,
     25 
     26   TEXT_INPUT_MODE_MAX = TEXT_INPUT_MODE_URL,
     27 };
     28 
     29 }  // namespace ui
     30 
     31 #endif  // UI_BASE_IME_TEXT_INPUT_TYPE_H_
     32