| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "web/WebFrameWidgetImpl.h" | 31 #include "web/WebFrameWidgetImpl.h" |
| 32 | 32 |
| 33 #include <memory> | 33 #include <memory> |
| 34 | 34 |
| 35 #include "core/dom/DocumentUserGestureToken.h" | 35 #include "core/dom/DocumentUserGestureToken.h" |
| 36 #include "core/editing/CompositionUnderlineVectorBuilder.h" |
| 36 #include "core/editing/EditingUtilities.h" | 37 #include "core/editing/EditingUtilities.h" |
| 37 #include "core/editing/Editor.h" | 38 #include "core/editing/Editor.h" |
| 38 #include "core/editing/FrameSelection.h" | 39 #include "core/editing/FrameSelection.h" |
| 39 #include "core/editing/InputMethodController.h" | 40 #include "core/editing/InputMethodController.h" |
| 40 #include "core/editing/PlainTextRange.h" | 41 #include "core/editing/PlainTextRange.h" |
| 41 #include "core/frame/FrameView.h" | 42 #include "core/frame/FrameView.h" |
| 42 #include "core/frame/RemoteFrame.h" | 43 #include "core/frame/RemoteFrame.h" |
| 43 #include "core/frame/Settings.h" | 44 #include "core/frame/Settings.h" |
| 44 #include "core/frame/VisualViewport.h" | 45 #include "core/frame/VisualViewport.h" |
| 45 #include "core/html/HTMLTextAreaElement.h" | 46 #include "core/html/HTMLTextAreaElement.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 56 #include "platform/animation/CompositorAnimationHost.h" | 57 #include "platform/animation/CompositorAnimationHost.h" |
| 57 #include "platform/graphics/Color.h" | 58 #include "platform/graphics/Color.h" |
| 58 #include "platform/graphics/CompositorMutatorClient.h" | 59 #include "platform/graphics/CompositorMutatorClient.h" |
| 59 #include "platform/wtf/AutoReset.h" | 60 #include "platform/wtf/AutoReset.h" |
| 60 #include "platform/wtf/PtrUtil.h" | 61 #include "platform/wtf/PtrUtil.h" |
| 61 #include "public/web/WebAutofillClient.h" | 62 #include "public/web/WebAutofillClient.h" |
| 62 #include "public/web/WebPlugin.h" | 63 #include "public/web/WebPlugin.h" |
| 63 #include "public/web/WebRange.h" | 64 #include "public/web/WebRange.h" |
| 64 #include "public/web/WebWidgetClient.h" | 65 #include "public/web/WebWidgetClient.h" |
| 65 #include "web/AnimationWorkletProxyClientImpl.h" | 66 #include "web/AnimationWorkletProxyClientImpl.h" |
| 66 #include "web/CompositionUnderlineVectorBuilder.h" | |
| 67 #include "web/CompositorMutatorImpl.h" | 67 #include "web/CompositorMutatorImpl.h" |
| 68 #include "web/CompositorWorkerProxyClientImpl.h" | 68 #include "web/CompositorWorkerProxyClientImpl.h" |
| 69 #include "web/ContextMenuAllowedScope.h" | 69 #include "web/ContextMenuAllowedScope.h" |
| 70 #include "web/InspectorOverlayAgent.h" | 70 #include "web/InspectorOverlayAgent.h" |
| 71 #include "web/PageOverlay.h" | 71 #include "web/PageOverlay.h" |
| 72 #include "web/WebDevToolsAgentImpl.h" | 72 #include "web/WebDevToolsAgentImpl.h" |
| 73 #include "web/WebInputEventConversion.h" | 73 #include "web/WebInputEventConversion.h" |
| 74 #include "web/WebInputMethodControllerImpl.h" | 74 #include "web/WebInputMethodControllerImpl.h" |
| 75 #include "web/WebLocalFrameImpl.h" | 75 #include "web/WebLocalFrameImpl.h" |
| 76 #include "web/WebPagePopupImpl.h" | 76 #include "web/WebPagePopupImpl.h" |
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1213 return nullptr; | 1213 return nullptr; |
| 1214 } | 1214 } |
| 1215 | 1215 |
| 1216 LocalFrame* WebFrameWidgetImpl::FocusedLocalFrameAvailableForIme() const { | 1216 LocalFrame* WebFrameWidgetImpl::FocusedLocalFrameAvailableForIme() const { |
| 1217 if (!ime_accept_events_) | 1217 if (!ime_accept_events_) |
| 1218 return nullptr; | 1218 return nullptr; |
| 1219 return FocusedLocalFrameInWidget(); | 1219 return FocusedLocalFrameInWidget(); |
| 1220 } | 1220 } |
| 1221 | 1221 |
| 1222 } // namespace blink | 1222 } // namespace blink |
| OLD | NEW |