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

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

Issue 2315223003: Move didUpdateTextOfFocusedElementByNonUserInput from WebViewClient to WebWidgetClient. (Closed)
Patch Set: Created 4 years, 3 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 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after
2032 2032
2033 void RenderViewImpl::didOverscroll( 2033 void RenderViewImpl::didOverscroll(
2034 const blink::WebFloatSize& overscrollDelta, 2034 const blink::WebFloatSize& overscrollDelta,
2035 const blink::WebFloatSize& accumulatedOverscroll, 2035 const blink::WebFloatSize& accumulatedOverscroll,
2036 const blink::WebFloatPoint& positionInViewport, 2036 const blink::WebFloatPoint& positionInViewport,
2037 const blink::WebFloatSize& velocityInViewport) { 2037 const blink::WebFloatSize& velocityInViewport) {
2038 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll, 2038 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll,
2039 positionInViewport, velocityInViewport); 2039 positionInViewport, velocityInViewport);
2040 } 2040 }
2041 2041
2042 void RenderViewImpl::didUpdateTextOfFocusedElementByNonUserInput() {
2043 RenderWidget::didUpdateTextOfFocusedElementByNonUserInput();
2044 }
2045
2046 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { 2042 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) {
2047 RenderWidget::hasTouchEventHandlers(has_handlers); 2043 RenderWidget::hasTouchEventHandlers(has_handlers);
2048 } 2044 }
2049 2045
2050 void RenderViewImpl::resetInputMethod() { 2046 void RenderViewImpl::resetInputMethod() {
2051 RenderWidget::resetInputMethod(); 2047 RenderWidget::resetInputMethod();
2052 } 2048 }
2053 2049
2054 blink::WebRect RenderViewImpl::rootWindowRect() { 2050 blink::WebRect RenderViewImpl::rootWindowRect() {
2055 return RenderWidget::RootWindowRect(); 2051 return RenderWidget::RootWindowRect();
(...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 return render_frame->focused_pepper_plugin(); 3051 return render_frame->focused_pepper_plugin();
3056 } 3052 }
3057 frame = frame->traverseNext(false); 3053 frame = frame->traverseNext(false);
3058 } 3054 }
3059 3055
3060 return nullptr; 3056 return nullptr;
3061 } 3057 }
3062 #endif 3058 #endif
3063 3059
3064 } // namespace content 3060 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | third_party/WebKit/Source/core/html/HTMLInputElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698