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

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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Remove logging statements, fix copyright years in new files Created 3 years, 10 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 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 const blink::WebFloatPoint& positionInViewport, 1836 const blink::WebFloatPoint& positionInViewport,
1837 const blink::WebFloatSize& velocityInViewport) { 1837 const blink::WebFloatSize& velocityInViewport) {
1838 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll, 1838 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll,
1839 positionInViewport, velocityInViewport); 1839 positionInViewport, velocityInViewport);
1840 } 1840 }
1841 1841
1842 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { 1842 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) {
1843 RenderWidget::hasTouchEventHandlers(has_handlers); 1843 RenderWidget::hasTouchEventHandlers(has_handlers);
1844 } 1844 }
1845 1845
1846 void RenderViewImpl::handlePotentialTextSuggestionTap() {
1847 RenderWidget::handlePotentialTextSuggestionTap();
1848 }
1849
1846 void RenderViewImpl::resetInputMethod() { 1850 void RenderViewImpl::resetInputMethod() {
1847 RenderWidget::resetInputMethod(); 1851 RenderWidget::resetInputMethod();
1848 } 1852 }
1849 1853
1850 blink::WebRect RenderViewImpl::rootWindowRect() { 1854 blink::WebRect RenderViewImpl::rootWindowRect() {
1851 return RenderWidget::windowRect(); 1855 return RenderWidget::windowRect();
1852 } 1856 }
1853 1857
1854 blink::WebScreenInfo RenderViewImpl::screenInfo() { 1858 blink::WebScreenInfo RenderViewImpl::screenInfo() {
1855 return RenderWidget::screenInfo(); 1859 return RenderWidget::screenInfo();
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2689 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2686 } 2690 }
2687 2691
2688 std::unique_ptr<InputEventAck> ack( 2692 std::unique_ptr<InputEventAck> ack(
2689 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2693 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2690 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2694 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2691 OnInputEventAck(std::move(ack)); 2695 OnInputEventAck(std::move(ack));
2692 } 2696 }
2693 2697
2694 } // namespace content 2698 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698