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

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

Issue 2128563002: Move scheduleAnimation calls from WebViewClient to WebWidgetClient. (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
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 2039 matching lines...) Expand 10 before | Expand all | Expand 10 after
2050 } 2050 }
2051 2051
2052 void RenderViewImpl::resetInputMethod() { 2052 void RenderViewImpl::resetInputMethod() {
2053 RenderWidget::resetInputMethod(); 2053 RenderWidget::resetInputMethod();
2054 } 2054 }
2055 2055
2056 blink::WebRect RenderViewImpl::rootWindowRect() { 2056 blink::WebRect RenderViewImpl::rootWindowRect() {
2057 return RenderWidget::rootWindowRect(); 2057 return RenderWidget::rootWindowRect();
2058 } 2058 }
2059 2059
2060 void RenderViewImpl::scheduleAnimation() {
2061 RenderWidget::scheduleAnimation();
2062 }
2063
2064 blink::WebScreenInfo RenderViewImpl::screenInfo() { 2060 blink::WebScreenInfo RenderViewImpl::screenInfo() {
2065 return RenderWidget::screenInfo(); 2061 return RenderWidget::screenInfo();
2066 } 2062 }
2067 2063
2068 void RenderViewImpl::setToolTipText(const blink::WebString& text, 2064 void RenderViewImpl::setToolTipText(const blink::WebString& text,
2069 blink::WebTextDirection hint) { 2065 blink::WebTextDirection hint) {
2070 RenderWidget::setToolTipText(text, hint); 2066 RenderWidget::setToolTipText(text, hint);
2071 } 2067 }
2072 2068
2073 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { 2069 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) {
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
3244 return render_frame->focused_pepper_plugin(); 3240 return render_frame->focused_pepper_plugin();
3245 } 3241 }
3246 frame = frame->traverseNext(false); 3242 frame = frame->traverseNext(false);
3247 } 3243 }
3248 3244
3249 return nullptr; 3245 return nullptr;
3250 } 3246 }
3251 #endif 3247 #endif
3252 3248
3253 } // namespace content 3249 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698