Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

Issue 1500873002: Implement sequential focus navigation for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Daniel's comments Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | third_party/WebKit/Source/core/frame/RemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698