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

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

Issue 2238573002: Add WebWidgetTestProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing files Created 4 years, 4 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 bool WebViewFrameWidget::isTransparent() const 250 bool WebViewFrameWidget::isTransparent() const
251 { 251 {
252 return m_webView->isTransparent(); 252 return m_webView->isTransparent();
253 } 253 }
254 254
255 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color) 255 void WebViewFrameWidget::setBaseBackgroundColor(WebColor color)
256 { 256 {
257 m_webView->setBaseBackgroundColor(color); 257 m_webView->setBaseBackgroundColor(color);
258 } 258 }
259 259
260 WebLocalFrameImpl* WebViewFrameWidget::localRoot()
261 {
262 return m_webView->mainFrameImpl();
263 }
264
260 void WebViewFrameWidget::scheduleAnimation() 265 void WebViewFrameWidget::scheduleAnimation()
261 { 266 {
262 m_webView->scheduleAnimationForWidget(); 267 m_webView->scheduleAnimationForWidget();
263 } 268 }
264 269
265 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient() 270 CompositorProxyClient* WebViewFrameWidget::createCompositorProxyClient()
266 { 271 {
267 return m_webView->createCompositorProxyClient(); 272 return m_webView->createCompositorProxyClient();
268 } 273 }
269 274
270 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer) 275 void WebViewFrameWidget::setRootGraphicsLayer(GraphicsLayer* layer)
271 { 276 {
272 m_webView->setRootGraphicsLayer(layer); 277 m_webView->setRootGraphicsLayer(layer);
273 } 278 }
274 279
275 void WebViewFrameWidget::attachCompositorAnimationTimeline(CompositorAnimationTi meline* compositorTimeline) 280 void WebViewFrameWidget::attachCompositorAnimationTimeline(CompositorAnimationTi meline* compositorTimeline)
276 { 281 {
277 m_webView->attachCompositorAnimationTimeline(compositorTimeline); 282 m_webView->attachCompositorAnimationTimeline(compositorTimeline);
278 } 283 }
279 284
280 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi meline* compositorTimeline) 285 void WebViewFrameWidget::detachCompositorAnimationTimeline(CompositorAnimationTi meline* compositorTimeline)
281 { 286 {
282 m_webView->detachCompositorAnimationTimeline(compositorTimeline); 287 m_webView->detachCompositorAnimationTimeline(compositorTimeline);
283 } 288 }
284 289
285 } // namespace blink 290 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/public/web/WebFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698