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

Side by Side Diff: content/renderer/render_view_impl.cc

Issue 2046793002: Move didMeaningfulLayout calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: print 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/render_view_impl.h" 5 #include "content/renderer/render_view_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cmath> 8 #include <cmath>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 2014 matching lines...) Expand 10 before | Expand all | Expand 10 after
2025 } 2025 }
2026 2026
2027 void RenderViewImpl::didChangeCursor(const blink::WebCursorInfo& info) { 2027 void RenderViewImpl::didChangeCursor(const blink::WebCursorInfo& info) {
2028 RenderWidget::didChangeCursor(info); 2028 RenderWidget::didChangeCursor(info);
2029 } 2029 }
2030 2030
2031 void RenderViewImpl::didInvalidateRect(const blink::WebRect& rect) { 2031 void RenderViewImpl::didInvalidateRect(const blink::WebRect& rect) {
2032 RenderWidget::didInvalidateRect(rect); 2032 RenderWidget::didInvalidateRect(rect);
2033 } 2033 }
2034 2034
2035 void RenderViewImpl::didMeaningfulLayout(
2036 blink::WebMeaningfulLayout layout_type) {
2037 RenderWidget::didMeaningfulLayout(layout_type);
2038 }
2039
2040 void RenderViewImpl::didOverscroll( 2035 void RenderViewImpl::didOverscroll(
2041 const blink::WebFloatSize& overscrollDelta, 2036 const blink::WebFloatSize& overscrollDelta,
2042 const blink::WebFloatSize& accumulatedOverscroll, 2037 const blink::WebFloatSize& accumulatedOverscroll,
2043 const blink::WebFloatPoint& positionInViewport, 2038 const blink::WebFloatPoint& positionInViewport,
2044 const blink::WebFloatSize& velocityInViewport) { 2039 const blink::WebFloatSize& velocityInViewport) {
2045 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll, 2040 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll,
2046 positionInViewport, velocityInViewport); 2041 positionInViewport, velocityInViewport);
2047 } 2042 }
2048 2043
2049 void RenderViewImpl::didUpdateTextOfFocusedElementByNonUserInput() { 2044 void RenderViewImpl::didUpdateTextOfFocusedElementByNonUserInput() {
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
3261 return render_frame->focused_pepper_plugin(); 3256 return render_frame->focused_pepper_plugin();
3262 } 3257 }
3263 frame = frame->traverseNext(false); 3258 frame = frame->traverseNext(false);
3264 } 3259 }
3265 3260
3266 return nullptr; 3261 return nullptr;
3267 } 3262 }
3268 #endif 3263 #endif
3269 3264
3270 } // namespace content 3265 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698