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

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

Issue 2681833006: [Android] Restart input only once on focus change (Closed)
Patch Set: fixed nit 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
« 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 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 const blink::WebFloatPoint& positionInViewport, 1870 const blink::WebFloatPoint& positionInViewport,
1871 const blink::WebFloatSize& velocityInViewport) { 1871 const blink::WebFloatSize& velocityInViewport) {
1872 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll, 1872 RenderWidget::didOverscroll(overscrollDelta, accumulatedOverscroll,
1873 positionInViewport, velocityInViewport); 1873 positionInViewport, velocityInViewport);
1874 } 1874 }
1875 1875
1876 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) { 1876 void RenderViewImpl::hasTouchEventHandlers(bool has_handlers) {
1877 RenderWidget::hasTouchEventHandlers(has_handlers); 1877 RenderWidget::hasTouchEventHandlers(has_handlers);
1878 } 1878 }
1879 1879
1880 void RenderViewImpl::resetInputMethod() {
1881 RenderWidget::resetInputMethod();
1882 }
1883
1884 blink::WebRect RenderViewImpl::rootWindowRect() { 1880 blink::WebRect RenderViewImpl::rootWindowRect() {
1885 return RenderWidget::windowRect(); 1881 return RenderWidget::windowRect();
1886 } 1882 }
1887 1883
1888 blink::WebScreenInfo RenderViewImpl::screenInfo() { 1884 blink::WebScreenInfo RenderViewImpl::screenInfo() {
1889 return RenderWidget::screenInfo(); 1885 return RenderWidget::screenInfo();
1890 } 1886 }
1891 1887
1892 void RenderViewImpl::setToolTipText(const blink::WebString& text, 1888 void RenderViewImpl::setToolTipText(const blink::WebString& text,
1893 blink::WebTextDirection hint) { 1889 blink::WebTextDirection hint) {
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
2720 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2716 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2721 } 2717 }
2722 2718
2723 std::unique_ptr<InputEventAck> ack( 2719 std::unique_ptr<InputEventAck> ack(
2724 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2720 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2725 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2721 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2726 OnInputEventAck(std::move(ack)); 2722 OnInputEventAck(std::move(ack));
2727 } 2723 }
2728 2724
2729 } // namespace content 2725 } // 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