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/renderer/render_widget.h" | 5 #include "content/renderer/render_widget.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/feature_list.h" | 13 #include "base/feature_list.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
18 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
19 #include "base/metrics/histogram_macros.h" | 19 #include "base/metrics/histogram_macros.h" |
20 #include "base/stl_util.h" | 20 #include "base/stl_util.h" |
21 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
22 #include "base/sys_info.h" | 22 #include "base/sys_info.h" |
| 23 #include "base/threading/thread_task_runner_handle.h" |
23 #include "base/trace_event/trace_event.h" | 24 #include "base/trace_event/trace_event.h" |
24 #include "base/trace_event/trace_event_synthetic_delay.h" | 25 #include "base/trace_event/trace_event_synthetic_delay.h" |
25 #include "build/build_config.h" | 26 #include "build/build_config.h" |
26 #include "cc/output/compositor_frame_sink.h" | 27 #include "cc/output/compositor_frame_sink.h" |
27 #include "cc/output/copy_output_request.h" | 28 #include "cc/output/copy_output_request.h" |
28 #include "cc/scheduler/begin_frame_source.h" | 29 #include "cc/scheduler/begin_frame_source.h" |
29 #include "content/common/content_switches_internal.h" | 30 #include "content/common/content_switches_internal.h" |
30 #include "content/common/drag_event_source_info.h" | 31 #include "content/common/drag_event_source_info.h" |
31 #include "content/common/drag_messages.h" | 32 #include "content/common/drag_messages.h" |
32 #include "content/common/input/synthetic_gesture_packet.h" | 33 #include "content/common/input/synthetic_gesture_packet.h" |
(...skipping 2221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2254 // browser side (https://crbug.com/669219). | 2255 // browser side (https://crbug.com/669219). |
2255 // If there is no WebFrameWidget, then there will be no | 2256 // If there is no WebFrameWidget, then there will be no |
2256 // InputMethodControllers for a WebLocalFrame. | 2257 // InputMethodControllers for a WebLocalFrame. |
2257 return nullptr; | 2258 return nullptr; |
2258 } | 2259 } |
2259 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) | 2260 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) |
2260 ->getActiveWebInputMethodController(); | 2261 ->getActiveWebInputMethodController(); |
2261 } | 2262 } |
2262 | 2263 |
2263 } // namespace content | 2264 } // namespace content |
OLD | NEW |