| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "core/layout/compositing/PaintLayerCompositor.h" | 49 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 50 #include "core/page/ContextMenuController.h" | 50 #include "core/page/ContextMenuController.h" |
| 51 #include "core/page/FocusController.h" | 51 #include "core/page/FocusController.h" |
| 52 #include "core/page/Page.h" | 52 #include "core/page/Page.h" |
| 53 #include "core/page/PointerLockController.h" | 53 #include "core/page/PointerLockController.h" |
| 54 #include "platform/KeyboardCodes.h" | 54 #include "platform/KeyboardCodes.h" |
| 55 #include "platform/WebFrameScheduler.h" | 55 #include "platform/WebFrameScheduler.h" |
| 56 #include "platform/animation/CompositorAnimationHost.h" | 56 #include "platform/animation/CompositorAnimationHost.h" |
| 57 #include "platform/graphics/Color.h" | 57 #include "platform/graphics/Color.h" |
| 58 #include "platform/graphics/CompositorMutatorClient.h" | 58 #include "platform/graphics/CompositorMutatorClient.h" |
| 59 #include "platform/wtf/AutoReset.h" |
| 60 #include "platform/wtf/PtrUtil.h" |
| 59 #include "public/web/WebAutofillClient.h" | 61 #include "public/web/WebAutofillClient.h" |
| 60 #include "public/web/WebPlugin.h" | 62 #include "public/web/WebPlugin.h" |
| 61 #include "public/web/WebRange.h" | 63 #include "public/web/WebRange.h" |
| 62 #include "public/web/WebWidgetClient.h" | 64 #include "public/web/WebWidgetClient.h" |
| 63 #include "web/AnimationWorkletProxyClientImpl.h" | 65 #include "web/AnimationWorkletProxyClientImpl.h" |
| 64 #include "web/CompositionUnderlineVectorBuilder.h" | 66 #include "web/CompositionUnderlineVectorBuilder.h" |
| 65 #include "web/CompositorMutatorImpl.h" | 67 #include "web/CompositorMutatorImpl.h" |
| 66 #include "web/CompositorWorkerProxyClientImpl.h" | 68 #include "web/CompositorWorkerProxyClientImpl.h" |
| 67 #include "web/ContextMenuAllowedScope.h" | 69 #include "web/ContextMenuAllowedScope.h" |
| 68 #include "web/InspectorOverlay.h" | 70 #include "web/InspectorOverlay.h" |
| 69 #include "web/PageOverlay.h" | 71 #include "web/PageOverlay.h" |
| 70 #include "web/WebDevToolsAgentImpl.h" | 72 #include "web/WebDevToolsAgentImpl.h" |
| 71 #include "web/WebInputEventConversion.h" | 73 #include "web/WebInputEventConversion.h" |
| 72 #include "web/WebInputMethodControllerImpl.h" | 74 #include "web/WebInputMethodControllerImpl.h" |
| 73 #include "web/WebLocalFrameImpl.h" | 75 #include "web/WebLocalFrameImpl.h" |
| 74 #include "web/WebPluginContainerImpl.h" | 76 #include "web/WebPluginContainerImpl.h" |
| 75 #include "web/WebRemoteFrameImpl.h" | 77 #include "web/WebRemoteFrameImpl.h" |
| 76 #include "web/WebViewFrameWidget.h" | 78 #include "web/WebViewFrameWidget.h" |
| 77 #include "wtf/AutoReset.h" | |
| 78 #include "wtf/PtrUtil.h" | |
| 79 | 79 |
| 80 namespace blink { | 80 namespace blink { |
| 81 | 81 |
| 82 // WebFrameWidget ------------------------------------------------------------ | 82 // WebFrameWidget ------------------------------------------------------------ |
| 83 | 83 |
| 84 WebFrameWidget* WebFrameWidget::create(WebWidgetClient* client, | 84 WebFrameWidget* WebFrameWidget::create(WebWidgetClient* client, |
| 85 WebLocalFrame* localRoot) { | 85 WebLocalFrame* localRoot) { |
| 86 DCHECK(client) << "A valid WebWidgetClient must be supplied."; | 86 DCHECK(client) << "A valid WebWidgetClient must be supplied."; |
| 87 // Pass the WebFrameWidget's self-reference to the caller. | 87 // Pass the WebFrameWidget's self-reference to the caller. |
| 88 return WebFrameWidgetImpl::create(client, localRoot); | 88 return WebFrameWidgetImpl::create(client, localRoot); |
| (...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 return nullptr; | 1158 return nullptr; |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { | 1161 LocalFrame* WebFrameWidgetImpl::focusedLocalFrameAvailableForIme() const { |
| 1162 if (!m_imeAcceptEvents) | 1162 if (!m_imeAcceptEvents) |
| 1163 return nullptr; | 1163 return nullptr; |
| 1164 return focusedLocalFrameInWidget(); | 1164 return focusedLocalFrameInWidget(); |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 } // namespace blink | 1167 } // namespace blink |
| OLD | NEW |