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

Side by Side Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2036403002: Always use the WebFrameWidget when attaching the root graphics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: adding comments Created 4 years, 5 months 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be found 2 // Use of this source code is governed by a BSD-style license that can be found
3 // in the LICENSE file. 3 // in the LICENSE file.
4 4
5 #include "web/WebViewFrameWidget.h" 5 #include "web/WebViewFrameWidget.h"
6 6
7 #include "web/WebLocalFrameImpl.h" 7 #include "web/WebLocalFrameImpl.h"
8 #include "web/WebViewImpl.h" 8 #include "web/WebViewImpl.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 void WebViewFrameWidget::scheduleAnimation() 258 void WebViewFrameWidget::scheduleAnimation()
259 { 259 {
260 m_webView->scheduleAnimation(); 260 m_webView->scheduleAnimation();
261 } 261 }
262 262
263 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() 263 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient()
264 { 264 {
265 return m_webView->createCompositorProxyClient(); 265 return m_webView->createCompositorProxyClient();
266 } 266 }
267 267
268 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer)
269 {
270 m_webView->setRootGraphicsLayer(layer);
271 }
272
273 void WebViewFrameWidget::attachCompositorAnimationTimeline(CompositorAnimationTi meline* compositorTimeline)
274 {
275 m_webView->attachCompositorAnimationTimeline(compositorTimeline);
276 }
277
278 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi meline* compositorTimeline)
279 {
280 m_webView->detachCompositorAnimationTimeline(compositorTimeline);
281 }
282
268 } // namespace blink 283 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698