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 "core/frame/RemoteFrame.h" | 5 #include "core/frame/RemoteFrame.h" |
6 | 6 |
7 #include "bindings/core/v8/WindowProxy.h" | 7 #include "bindings/core/v8/WindowProxy.h" |
8 #include "bindings/core/v8/WindowProxyManager.h" | 8 #include "bindings/core/v8/WindowProxyManager.h" |
9 #include "core/dom/RemoteSecurityContext.h" | 9 #include "core/dom/RemoteSecurityContext.h" |
10 #include "core/frame/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
11 #include "core/frame/RemoteDOMWindow.h" | 11 #include "core/frame/RemoteDOMWindow.h" |
12 #include "core/frame/RemoteFrameClient.h" | 12 #include "core/frame/RemoteFrameClient.h" |
13 #include "core/frame/RemoteFrameView.h" | 13 #include "core/frame/RemoteFrameView.h" |
14 #include "core/html/HTMLFrameOwnerElement.h" | 14 #include "core/html/HTMLFrameOwnerElement.h" |
15 #include "core/layout/LayoutPart.h" | 15 #include "core/layout/LayoutPart.h" |
16 #include "core/loader/FrameLoadRequest.h" | 16 #include "core/loader/FrameLoadRequest.h" |
| 17 #include "core/page/ChromeClient.h" |
| 18 #include "core/page/Page.h" |
17 #include "core/paint/PaintLayer.h" | 19 #include "core/paint/PaintLayer.h" |
| 20 #include "platform/JSONValues.h" |
18 #include "platform/PluginScriptForbiddenScope.h" | 21 #include "platform/PluginScriptForbiddenScope.h" |
19 #include "platform/UserGestureIndicator.h" | 22 #include "platform/UserGestureIndicator.h" |
20 #include "platform/graphics/GraphicsLayer.h" | 23 #include "platform/graphics/GraphicsLayer.h" |
21 #include "platform/weborigin/SecurityPolicy.h" | 24 #include "platform/weborigin/SecurityPolicy.h" |
22 #include "public/platform/WebLayer.h" | 25 #include "public/platform/WebLayer.h" |
23 | 26 |
24 namespace blink { | 27 namespace blink { |
25 | 28 |
26 inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, Fram
eOwner* owner) | 29 inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, Fram
eOwner* owner) |
27 : Frame(client, host, owner) | 30 : Frame(client, host, owner) |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 ASSERT(owner()); | 200 ASSERT(owner()); |
198 toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate(); | 201 toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate(); |
199 } | 202 } |
200 | 203 |
201 void RemoteFrame::advanceFocus(WebFocusType type, LocalFrame* source) | 204 void RemoteFrame::advanceFocus(WebFocusType type, LocalFrame* source) |
202 { | 205 { |
203 remoteFrameClient()->advanceFocus(type, source); | 206 remoteFrameClient()->advanceFocus(type, source); |
204 } | 207 } |
205 | 208 |
206 } // namespace blink | 209 } // namespace blink |
OLD | NEW |