| 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" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "base/trace_event/trace_event_synthetic_delay.h" | 25 #include "base/trace_event/trace_event_synthetic_delay.h" |
| 26 #include "build/build_config.h" | 26 #include "build/build_config.h" |
| 27 #include "cc/animation/animation_host.h" | 27 #include "cc/animation/animation_host.h" |
| 28 #include "cc/output/compositor_frame_sink.h" | 28 #include "cc/output/compositor_frame_sink.h" |
| 29 #include "cc/output/copy_output_request.h" | 29 #include "cc/output/copy_output_request.h" |
| 30 #include "cc/scheduler/begin_frame_source.h" | 30 #include "cc/scheduler/begin_frame_source.h" |
| 31 #include "cc/trees/layer_tree_host.h" | 31 #include "cc/trees/layer_tree_host.h" |
| 32 #include "content/common/content_switches_internal.h" | 32 #include "content/common/content_switches_internal.h" |
| 33 #include "content/common/drag_event_source_info.h" | 33 #include "content/common/drag_event_source_info.h" |
| 34 #include "content/common/drag_messages.h" | 34 #include "content/common/drag_messages.h" |
| 35 #include "content/common/frame_messages.h" |
| 35 #include "content/common/input/synthetic_gesture_packet.h" | 36 #include "content/common/input/synthetic_gesture_packet.h" |
| 36 #include "content/common/input_messages.h" | 37 #include "content/common/input_messages.h" |
| 37 #include "content/common/render_message_filter.mojom.h" | 38 #include "content/common/render_message_filter.mojom.h" |
| 38 #include "content/common/swapped_out_messages.h" | 39 #include "content/common/swapped_out_messages.h" |
| 39 #include "content/common/text_input_state.h" | 40 #include "content/common/text_input_state.h" |
| 40 #include "content/common/view_messages.h" | 41 #include "content/common/view_messages.h" |
| 41 #include "content/public/common/content_features.h" | 42 #include "content/public/common/content_features.h" |
| 42 #include "content/public/common/content_switches.h" | 43 #include "content/public/common/content_switches.h" |
| 43 #include "content/public/common/context_menu_params.h" | 44 #include "content/public/common/context_menu_params.h" |
| 44 #include "content/public/common/drop_data.h" | 45 #include "content/public/common/drop_data.h" |
| (...skipping 2241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 // browser side (https://crbug.com/669219). | 2287 // browser side (https://crbug.com/669219). |
| 2287 // If there is no WebFrameWidget, then there will be no | 2288 // If there is no WebFrameWidget, then there will be no |
| 2288 // InputMethodControllers for a WebLocalFrame. | 2289 // InputMethodControllers for a WebLocalFrame. |
| 2289 return nullptr; | 2290 return nullptr; |
| 2290 } | 2291 } |
| 2291 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) | 2292 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) |
| 2292 ->getActiveWebInputMethodController(); | 2293 ->getActiveWebInputMethodController(); |
| 2293 } | 2294 } |
| 2294 | 2295 |
| 2295 } // namespace content | 2296 } // namespace content |
| OLD | NEW |