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

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

Issue 2143643002: Remove didAutoResize from WebWidgetClient and move it to WebViewClient.. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after
2010 2010
2011 void RenderViewImpl::convertViewportToWindow(blink::WebRect* rect) { 2011 void RenderViewImpl::convertViewportToWindow(blink::WebRect* rect) {
2012 RenderWidget::convertViewportToWindow(rect); 2012 RenderWidget::convertViewportToWindow(rect);
2013 } 2013 }
2014 2014
2015 void RenderViewImpl::convertWindowToViewport(blink::WebFloatRect* rect) { 2015 void RenderViewImpl::convertWindowToViewport(blink::WebFloatRect* rect) {
2016 RenderWidget::convertWindowToViewport(rect); 2016 RenderWidget::convertWindowToViewport(rect);
2017 } 2017 }
2018 2018
2019 void RenderViewImpl::didAutoResize(const blink::WebSize& newSize) { 2019 void RenderViewImpl::didAutoResize(const blink::WebSize& newSize) {
2020 RenderWidget::didAutoResize(newSize); 2020 RenderWidget::DidAutoResize(newSize);
2021 } 2021 }
2022 2022
2023 void RenderViewImpl::didInvalidateRect(const blink::WebRect& rect) { 2023 void RenderViewImpl::didInvalidateRect(const blink::WebRect& rect) {
2024 RenderWidget::didInvalidateRect(rect); 2024 RenderWidget::didInvalidateRect(rect);
2025 } 2025 }
2026 2026
2027 void RenderViewImpl::didOverscroll( 2027 void RenderViewImpl::didOverscroll(
2028 const blink::WebFloatSize& overscrollDelta, 2028 const blink::WebFloatSize& overscrollDelta,
2029 const blink::WebFloatSize& accumulatedOverscroll, 2029 const blink::WebFloatSize& accumulatedOverscroll,
2030 const blink::WebFloatPoint& positionInViewport, 2030 const blink::WebFloatPoint& positionInViewport,
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after
3240 return render_frame->focused_pepper_plugin(); 3240 return render_frame->focused_pepper_plugin();
3241 } 3241 }
3242 frame = frame->traverseNext(false); 3242 frame = frame->traverseNext(false);
3243 } 3243 }
3244 3244
3245 return nullptr; 3245 return nullptr;
3246 } 3246 }
3247 #endif 3247 #endif
3248 3248
3249 } // namespace content 3249 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698