| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 #include "content/renderer/render_widget_owner_delegate.h" | 58 #include "content/renderer/render_widget_owner_delegate.h" |
| 59 #include "content/renderer/renderer_blink_platform_impl.h" | 59 #include "content/renderer/renderer_blink_platform_impl.h" |
| 60 #include "content/renderer/resizing_mode_selector.h" | 60 #include "content/renderer/resizing_mode_selector.h" |
| 61 #include "ipc/ipc_message_start.h" | 61 #include "ipc/ipc_message_start.h" |
| 62 #include "ipc/ipc_sync_message.h" | 62 #include "ipc/ipc_sync_message.h" |
| 63 #include "ppapi/features/features.h" | 63 #include "ppapi/features/features.h" |
| 64 #include "skia/ext/platform_canvas.h" | 64 #include "skia/ext/platform_canvas.h" |
| 65 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 65 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
| 66 #include "third_party/WebKit/public/platform/WebDragData.h" | 66 #include "third_party/WebKit/public/platform/WebDragData.h" |
| 67 #include "third_party/WebKit/public/platform/WebDragOperation.h" | 67 #include "third_party/WebKit/public/platform/WebDragOperation.h" |
| 68 #include "third_party/WebKit/public/platform/WebMouseEvent.h" |
| 68 #include "third_party/WebKit/public/platform/WebPoint.h" | 69 #include "third_party/WebKit/public/platform/WebPoint.h" |
| 69 #include "third_party/WebKit/public/platform/WebRect.h" | 70 #include "third_party/WebKit/public/platform/WebRect.h" |
| 70 #include "third_party/WebKit/public/platform/WebSize.h" | 71 #include "third_party/WebKit/public/platform/WebSize.h" |
| 71 #include "third_party/WebKit/public/platform/WebString.h" | 72 #include "third_party/WebKit/public/platform/WebString.h" |
| 72 #include "third_party/WebKit/public/platform/scheduler/renderer/render_widget_sc
heduling_state.h" | 73 #include "third_party/WebKit/public/platform/scheduler/renderer/render_widget_sc
heduling_state.h" |
| 73 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 74 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
| 74 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" | 75 #include "third_party/WebKit/public/web/WebDeviceEmulationParams.h" |
| 75 #include "third_party/WebKit/public/web/WebFrameWidget.h" | 76 #include "third_party/WebKit/public/web/WebFrameWidget.h" |
| 76 #include "third_party/WebKit/public/web/WebInputMethodController.h" | 77 #include "third_party/WebKit/public/web/WebInputMethodController.h" |
| 77 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 78 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
| (...skipping 2177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2255 // browser side (https://crbug.com/669219). | 2256 // browser side (https://crbug.com/669219). |
| 2256 // If there is no WebFrameWidget, then there will be no | 2257 // If there is no WebFrameWidget, then there will be no |
| 2257 // InputMethodControllers for a WebLocalFrame. | 2258 // InputMethodControllers for a WebLocalFrame. |
| 2258 return nullptr; | 2259 return nullptr; |
| 2259 } | 2260 } |
| 2260 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) | 2261 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) |
| 2261 ->getActiveWebInputMethodController(); | 2262 ->getActiveWebInputMethodController(); |
| 2262 } | 2263 } |
| 2263 | 2264 |
| 2264 } // namespace content | 2265 } // namespace content |
| OLD | NEW |