Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(235)

Side by Side Diff: public/web/WebTextInputType.h

Issue 939603002: Adding support for Smart GO NEXT feature in Android Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // Separate on/off flags are defined so that the input mechanism can choose 71 // Separate on/off flags are defined so that the input mechanism can choose
72 // an appropriate default based on other things (like InputType and direct 72 // an appropriate default based on other things (like InputType and direct
73 // knowledge of the actual input system) if there are no overrides. 73 // knowledge of the actual input system) if there are no overrides.
74 enum WebTextInputFlags { 74 enum WebTextInputFlags {
75 WebTextInputFlagNone = 0, 75 WebTextInputFlagNone = 0,
76 WebTextInputFlagAutocompleteOn = 1 << 0, 76 WebTextInputFlagAutocompleteOn = 1 << 0,
77 WebTextInputFlagAutocompleteOff = 1 << 1, 77 WebTextInputFlagAutocompleteOff = 1 << 1,
78 WebTextInputFlagAutocorrectOn = 1 << 2, 78 WebTextInputFlagAutocorrectOn = 1 << 2,
79 WebTextInputFlagAutocorrectOff = 1 << 3, 79 WebTextInputFlagAutocorrectOff = 1 << 3,
80 WebTextInputFlagSpellcheckOn = 1 << 4, 80 WebTextInputFlagSpellcheckOn = 1 << 4,
81 WebTextInputFlagSpellcheckOff = 1 << 5 81 WebTextInputFlagSpellcheckOff = 1 << 5,
82 WebTextInputFlagWantEnterEvents = 1 << 6,
83 WebTextInputFlagHaveNextInput = 1 << 7,
84 WebTextInputFlagHavePreviousInput = 1 << 8,
82 }; 85 };
83 86
84 } // namespace blink 87 } // namespace blink
85 88
86 #endif 89 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698