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

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

Issue 2650113004: [WIP] Add support for Android SuggestionSpans when editing text (Closed)
Patch Set: Uploading the latest version from my repo so I can reference it Created 3 years, 8 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 1894 matching lines...) Expand 10 before | Expand all | Expand 10 after
1905 1905
1906 void RenderViewImpl::setToolTipText(const blink::WebString& text, 1906 void RenderViewImpl::setToolTipText(const blink::WebString& text,
1907 blink::WebTextDirection hint) { 1907 blink::WebTextDirection hint) {
1908 RenderWidget::setToolTipText(text, hint); 1908 RenderWidget::setToolTipText(text, hint);
1909 } 1909 }
1910 1910
1911 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { 1911 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) {
1912 RenderWidget::setTouchAction(touchAction); 1912 RenderWidget::setTouchAction(touchAction);
1913 } 1913 }
1914 1914
1915 void RenderViewImpl::updateCompositionInfo(bool immediateRequest) {
1916 RenderWidget::updateCompositionInfo(immediateRequest);
1917 }
1918
1915 void RenderViewImpl::showUnhandledTapUIIfNeeded( 1919 void RenderViewImpl::showUnhandledTapUIIfNeeded(
1916 const blink::WebPoint& tappedPosition, 1920 const blink::WebPoint& tappedPosition,
1917 const blink::WebNode& tappedNode, 1921 const blink::WebNode& tappedNode,
1918 bool pageChanged) { 1922 bool pageChanged) {
1919 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, 1923 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode,
1920 pageChanged); 1924 pageChanged);
1921 } 1925 }
1922 1926
1923 blink::WebWidgetClient* RenderViewImpl::widgetClient() { 1927 blink::WebWidgetClient* RenderViewImpl::widgetClient() {
1924 return static_cast<RenderWidget*>(this); 1928 return static_cast<RenderWidget*>(this);
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 INPUT_EVENT_ACK_STATE_NOT_CONSUMED); 2759 INPUT_EVENT_ACK_STATE_NOT_CONSUMED);
2756 } 2760 }
2757 2761
2758 std::unique_ptr<InputEventAck> ack( 2762 std::unique_ptr<InputEventAck> ack(
2759 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(), 2763 new InputEventAck(InputEventAckSource::MAIN_THREAD, input_event->type(),
2760 INPUT_EVENT_ACK_STATE_NOT_CONSUMED)); 2764 INPUT_EVENT_ACK_STATE_NOT_CONSUMED));
2761 OnInputEventAck(std::move(ack)); 2765 OnInputEventAck(std::move(ack));
2762 } 2766 }
2763 2767
2764 } // namespace content 2768 } // 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