| Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| index c5c52ce97211af179508da09e0b22b5bb5fe4db9..7941fedcbec17a6009751f8214fa90d368576abe 100644
|
| --- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| +++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
|
| @@ -144,19 +144,12 @@ void DrawEmptyRectangle(HDC dc) {
|
|
|
| namespace {
|
|
|
| -#if !defined(TOUCH_UI)
|
| // The default text input type is to regard the plugin always accept text input.
|
| // This is for allowing users to use input methods even on completely-IME-
|
| // unaware plugins (e.g., PPAPI Flash or PDF plugin for M16).
|
| // Plugins need to explicitly opt out the text input mode if they know
|
| // that they don't accept texts.
|
| const ui::TextInputType kPluginDefaultTextInputType = ui::TEXT_INPUT_TYPE_TEXT;
|
| -#else
|
| -// On the other hand, for touch ui, accepting text input implies to pop up
|
| -// virtual keyboard always. It makes IME-unaware plugins almost unusable,
|
| -// and hence is disabled by default (codereview.chromium.org/7800044).
|
| -const ui::TextInputType kPluginDefaultTextInputType = ui::TEXT_INPUT_TYPE_NONE;
|
| -#endif
|
|
|
| #define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, np_name) \
|
| COMPILE_ASSERT(static_cast<int>(WebCursorInfo::webkit_name) \
|
|
|