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

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

Issue 2791223002: Notify Blink to suppress frame requests during BeginMainFrame (Closed)
Patch Set: DCHECK update Created 3 years, 8 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/WebInputMethodControllerImpl.h" 7 #include "web/WebInputMethodControllerImpl.h"
8 #include "web/WebLocalFrameImpl.h" 8 #include "web/WebLocalFrameImpl.h"
9 #include "web/WebViewImpl.h" 9 #include "web/WebViewImpl.h"
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 void WebViewFrameWidget::didEnterFullscreen() { 52 void WebViewFrameWidget::didEnterFullscreen() {
53 return m_webView->didEnterFullscreen(); 53 return m_webView->didEnterFullscreen();
54 } 54 }
55 55
56 void WebViewFrameWidget::didExitFullscreen() { 56 void WebViewFrameWidget::didExitFullscreen() {
57 return m_webView->didExitFullscreen(); 57 return m_webView->didExitFullscreen();
58 } 58 }
59 59
60 void WebViewFrameWidget::setSuppressFrameRequestsWorkaroundFor704763Only(
61 bool suppressFrameRequests) {
62 return m_webView->setSuppressFrameRequestsWorkaroundFor704763Only(
63 suppressFrameRequests);
64 }
60 void WebViewFrameWidget::beginFrame(double lastFrameTimeMonotonic) { 65 void WebViewFrameWidget::beginFrame(double lastFrameTimeMonotonic) {
61 return m_webView->beginFrame(lastFrameTimeMonotonic); 66 return m_webView->beginFrame(lastFrameTimeMonotonic);
62 } 67 }
63 68
64 void WebViewFrameWidget::updateAllLifecyclePhases() { 69 void WebViewFrameWidget::updateAllLifecyclePhases() {
65 return m_webView->updateAllLifecyclePhases(); 70 return m_webView->updateAllLifecyclePhases();
66 } 71 }
67 72
68 void WebViewFrameWidget::paint(WebCanvas* canvas, const WebRect& viewPort) { 73 void WebViewFrameWidget::paint(WebCanvas* canvas, const WebRect& viewPort) {
69 return m_webView->paint(canvas, viewPort); 74 return m_webView->paint(canvas, viewPort);
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 243
239 CompositorAnimationHost* WebViewFrameWidget::animationHost() const { 244 CompositorAnimationHost* WebViewFrameWidget::animationHost() const {
240 return m_webView->animationHost(); 245 return m_webView->animationHost();
241 } 246 }
242 247
243 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) { 248 HitTestResult WebViewFrameWidget::coreHitTestResultAt(const WebPoint& point) {
244 return m_webView->coreHitTestResultAt(point); 249 return m_webView->coreHitTestResultAt(point);
245 } 250 }
246 251
247 } // namespace blink 252 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698