| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/basictypes.h" | 5 #include <stddef.h> |
| 6 |
| 6 #include "base/bind.h" | 7 #include "base/bind.h" |
| 7 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/macros.h" |
| 8 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 9 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 10 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
| 14 #include "build/build_config.h" |
| 12 #include "ui/base/ime/input_method.h" | 15 #include "ui/base/ime/input_method.h" |
| 13 #include "ui/base/ime/text_input_client.h" | 16 #include "ui/base/ime/text_input_client.h" |
| 14 #include "ui/base/resource/resource_bundle.h" | 17 #include "ui/base/resource/resource_bundle.h" |
| 15 #include "ui/base/ui_base_paths.h" | 18 #include "ui/base/ui_base_paths.h" |
| 16 #include "ui/base/ui_base_switches.h" | 19 #include "ui/base/ui_base_switches.h" |
| 17 #include "ui/events/event_processor.h" | 20 #include "ui/events/event_processor.h" |
| 18 #include "ui/events/event_utils.h" | 21 #include "ui/events/event_utils.h" |
| 19 #include "ui/events/test/event_generator.h" | 22 #include "ui/events/test/event_generator.h" |
| 20 #include "ui/gfx/native_widget_types.h" | 23 #include "ui/gfx/native_widget_types.h" |
| 21 #include "ui/gl/test/gl_surface_test_support.h" | 24 #include "ui/gl/test/gl_surface_test_support.h" |
| (...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1585 widget->GetInputMethod()->GetTextInputType()); | 1588 widget->GetInputMethod()->GetTextInputType()); |
| 1586 | 1589 |
| 1587 textfield->SetReadOnly(true); | 1590 textfield->SetReadOnly(true); |
| 1588 EXPECT_EQ(ui::TEXT_INPUT_TYPE_NONE, | 1591 EXPECT_EQ(ui::TEXT_INPUT_TYPE_NONE, |
| 1589 widget->GetInputMethod()->GetTextInputType()); | 1592 widget->GetInputMethod()->GetTextInputType()); |
| 1590 widget->CloseNow(); | 1593 widget->CloseNow(); |
| 1591 } | 1594 } |
| 1592 | 1595 |
| 1593 } // namespace test | 1596 } // namespace test |
| 1594 } // namespace views | 1597 } // namespace views |
| OLD | NEW |