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

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

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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/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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void WebViewFrameWidget::applyViewportDeltas( 114 void WebViewFrameWidget::applyViewportDeltas(
115 const WebFloatSize& visualViewportDelta, 115 const WebFloatSize& visualViewportDelta,
116 const WebFloatSize& layoutViewportDelta, 116 const WebFloatSize& layoutViewportDelta,
117 const WebFloatSize& elasticOverscrollDelta, 117 const WebFloatSize& elasticOverscrollDelta,
118 float scaleFactor, 118 float scaleFactor,
119 float topControlsShownRatioDelta) 119 float topControlsShownRatioDelta)
120 { 120 {
121 return m_webView->applyViewportDeltas(visualViewportDelta, layoutViewportDel ta, elasticOverscrollDelta, scaleFactor, topControlsShownRatioDelta); 121 return m_webView->applyViewportDeltas(visualViewportDelta, layoutViewportDel ta, elasticOverscrollDelta, scaleFactor, topControlsShownRatioDelta);
122 } 122 }
123 123
124 void WebViewFrameWidget::recordFrameTimingEvent(FrameTimingEventType eventType, int64_t rectId, const WebVector<WebFrameTimingEvent>& events)
125 {
126 return m_webView->recordFrameTimingEvent(eventType, rectId, events);
127 }
128
129 void WebViewFrameWidget::mouseCaptureLost() 124 void WebViewFrameWidget::mouseCaptureLost()
130 { 125 {
131 return m_webView->mouseCaptureLost(); 126 return m_webView->mouseCaptureLost();
132 } 127 }
133 128
134 void WebViewFrameWidget::setFocus(bool enable) 129 void WebViewFrameWidget::setFocus(bool enable)
135 { 130 {
136 return m_webView->setFocus(enable); 131 return m_webView->setFocus(enable);
137 } 132 }
138 133
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 { 264 {
270 m_webView->setBaseBackgroundColor(color); 265 m_webView->setBaseBackgroundColor(color);
271 } 266 }
272 267
273 void WebViewFrameWidget::scheduleAnimation() 268 void WebViewFrameWidget::scheduleAnimation()
274 { 269 {
275 m_webView->scheduleAnimation(); 270 m_webView->scheduleAnimation();
276 } 271 }
277 272
278 } // namespace blink 273 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewFrameWidget.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698