OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/renderer_host/render_widget_host_view_aura.h" | 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <tuple> | 10 #include <tuple> |
(...skipping 28 matching lines...) Expand all Loading... |
39 #include "content/browser/renderer_host/overscroll_controller.h" | 39 #include "content/browser/renderer_host/overscroll_controller.h" |
40 #include "content/browser/renderer_host/overscroll_controller_delegate.h" | 40 #include "content/browser/renderer_host/overscroll_controller_delegate.h" |
41 #include "content/browser/renderer_host/render_view_host_factory.h" | 41 #include "content/browser/renderer_host/render_view_host_factory.h" |
42 #include "content/browser/renderer_host/render_widget_host_delegate.h" | 42 #include "content/browser/renderer_host/render_widget_host_delegate.h" |
43 #include "content/browser/renderer_host/render_widget_host_impl.h" | 43 #include "content/browser/renderer_host/render_widget_host_impl.h" |
44 #include "content/browser/renderer_host/resize_lock.h" | 44 #include "content/browser/renderer_host/resize_lock.h" |
45 #include "content/browser/renderer_host/text_input_manager.h" | 45 #include "content/browser/renderer_host/text_input_manager.h" |
46 #include "content/browser/web_contents/web_contents_view_aura.h" | 46 #include "content/browser/web_contents/web_contents_view_aura.h" |
47 #include "content/common/host_shared_bitmap_manager.h" | 47 #include "content/common/host_shared_bitmap_manager.h" |
48 #include "content/common/input/synthetic_web_input_event_builders.h" | 48 #include "content/common/input/synthetic_web_input_event_builders.h" |
| 49 #include "content/common/input/web_input_event_traits.h" |
49 #include "content/common/input_messages.h" | 50 #include "content/common/input_messages.h" |
50 #include "content/common/text_input_state.h" | 51 #include "content/common/text_input_state.h" |
51 #include "content/common/view_messages.h" | 52 #include "content/common/view_messages.h" |
52 #include "content/public/browser/render_widget_host_view.h" | 53 #include "content/public/browser/render_widget_host_view.h" |
53 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" | 54 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" |
54 #include "content/public/browser/web_contents_view_delegate.h" | 55 #include "content/public/browser/web_contents_view_delegate.h" |
55 #include "content/public/common/context_menu_params.h" | 56 #include "content/public/common/context_menu_params.h" |
56 #include "content/public/test/mock_render_process_host.h" | 57 #include "content/public/test/mock_render_process_host.h" |
57 #include "content/public/test/test_browser_context.h" | 58 #include "content/public/test/test_browser_context.h" |
58 #include "content/test/test_render_view_host.h" | 59 #include "content/test/test_render_view_host.h" |
(...skipping 4151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4210 base::Bind(&ui::TextInputClient::InsertText, | 4211 base::Bind(&ui::TextInputClient::InsertText, |
4211 base::Unretained(text_input_client()), base::string16()); | 4212 base::Unretained(text_input_client()), base::string16()); |
4212 for (auto index : active_view_sequence_) { | 4213 for (auto index : active_view_sequence_) { |
4213 ActivateViewForTextInputManager(views_[index], ui::TEXT_INPUT_TYPE_TEXT); | 4214 ActivateViewForTextInputManager(views_[index], ui::TEXT_INPUT_TYPE_TEXT); |
4214 EXPECT_TRUE(!!RunAndReturnIPCSent(ime_call, processes_[index], | 4215 EXPECT_TRUE(!!RunAndReturnIPCSent(ime_call, processes_[index], |
4215 InputMsg_ImeConfirmComposition::ID)); | 4216 InputMsg_ImeConfirmComposition::ID)); |
4216 } | 4217 } |
4217 } | 4218 } |
4218 | 4219 |
4219 } // namespace content | 4220 } // namespace content |
OLD | NEW |