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

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

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 years, 1 month 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"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 if (ownerLayoutObject()) 160 if (ownerLayoutObject())
161 deprecatedLocalOwner()->setWidget(m_view); 161 deprecatedLocalOwner()->setWidget(m_view);
162 } 162 }
163 163
164 RemoteFrameClient* RemoteFrame::remoteFrameClient() const 164 RemoteFrameClient* RemoteFrame::remoteFrameClient() const
165 { 165 {
166 return static_cast<RemoteFrameClient*>(client()); 166 return static_cast<RemoteFrameClient*>(client());
167 } 167 }
168 168
169 WindowProxyManager* RemoteFrame::windowProxyManager() const
170 {
171 return m_windowProxyManager.get();
172 }
173
174 void RemoteFrame::setRemotePlatformLayer(WebLayer* layer) 169 void RemoteFrame::setRemotePlatformLayer(WebLayer* layer)
175 { 170 {
176 if (m_remotePlatformLayer) 171 if (m_remotePlatformLayer)
177 GraphicsLayer::unregisterContentsLayer(m_remotePlatformLayer); 172 GraphicsLayer::unregisterContentsLayer(m_remotePlatformLayer);
178 m_remotePlatformLayer = layer; 173 m_remotePlatformLayer = layer;
179 if (m_remotePlatformLayer) 174 if (m_remotePlatformLayer)
180 GraphicsLayer::registerContentsLayer(layer); 175 GraphicsLayer::registerContentsLayer(layer);
181 176
182 ASSERT(owner()); 177 ASSERT(owner());
183 toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate(); 178 toHTMLFrameOwnerElement(owner())->setNeedsCompositingUpdate();
184 } 179 }
185 180
186 RemoteFrameView* RemoteFrame::view() const
187 {
188 return m_view.get();
189 }
190
191 } // namespace blink 181 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteFrame.h ('k') | third_party/WebKit/Source/core/html/FormAssociatedElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698