| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | 5 #include "config.h" |
| 6 #include "core/frame/RemoteFrame.h" | 6 #include "core/frame/RemoteFrame.h" |
| 7 | 7 |
| 8 #include "bindings/core/v8/WindowProxy.h" | 8 #include "bindings/core/v8/WindowProxy.h" |
| 9 #include "bindings/core/v8/WindowProxyManager.h" | 9 #include "bindings/core/v8/WindowProxyManager.h" |
| 10 #include "core/dom/RemoteSecurityContext.h" | 10 #include "core/dom/RemoteSecurityContext.h" |
| 11 #include "core/frame/LocalFrame.h" |
| 11 #include "core/frame/RemoteDOMWindow.h" | 12 #include "core/frame/RemoteDOMWindow.h" |
| 12 #include "core/frame/RemoteFrameClient.h" | 13 #include "core/frame/RemoteFrameClient.h" |
| 13 #include "core/frame/RemoteFrameView.h" | 14 #include "core/frame/RemoteFrameView.h" |
| 14 #include "core/html/HTMLFrameOwnerElement.h" | 15 #include "core/html/HTMLFrameOwnerElement.h" |
| 15 #include "core/layout/LayoutPart.h" | 16 #include "core/layout/LayoutPart.h" |
| 16 #include "core/loader/FrameLoadRequest.h" | 17 #include "core/loader/FrameLoadRequest.h" |
| 17 #include "core/paint/PaintLayer.h" | 18 #include "core/paint/PaintLayer.h" |
| 18 #include "platform/PluginScriptForbiddenScope.h" | 19 #include "platform/PluginScriptForbiddenScope.h" |
| 19 #include "platform/UserGestureIndicator.h" | 20 #include "platform/UserGestureIndicator.h" |
| 20 #include "platform/graphics/GraphicsLayer.h" | 21 #include "platform/graphics/GraphicsLayer.h" |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 if (m_remotePlatformLayer) | 173 if (m_remotePlatformLayer) |
| 173 GraphicsLayer::unregisterContentsLayer(m_remotePlatformLayer); | 174 GraphicsLayer::unregisterContentsLayer(m_remotePlatformLayer); |
| 174 m_remotePlatformLayer = layer; | 175 m_remotePlatformLayer = layer; |
| 175 if (m_remotePlatformLayer) | 176 if (m_remotePlatformLayer) |
| 176 GraphicsLayer::registerContentsLayer(layer); | 177 GraphicsLayer::registerContentsLayer(layer); |
| 177 | 178 |
| 178 ASSERT(owner()); | 179 ASSERT(owner()); |
| 179 toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate(); | 180 toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate(); |
| 180 } | 181 } |
| 181 | 182 |
| 183 void RemoteFrame::advanceFocus(WebFocusType type, LocalFrame* source) |
| 184 { |
| 185 remoteFrameClient()->advanceFocus(type, source); |
| 186 } |
| 187 |
| 182 } // namespace blink | 188 } // namespace blink |
| OLD | NEW |