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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 1163603004: Remove candidate show/hide/update related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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/browser/renderer_host/render_widget_host_impl.h" 5 #include "content/browser/renderer_host/render_widget_host_impl.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 text_direction_updated_ = false; 1259 text_direction_updated_ = false;
1260 text_direction_canceled_ = false; 1260 text_direction_canceled_ = false;
1261 } 1261 }
1262 } 1262 }
1263 1263
1264 void RenderWidgetHostImpl::SetInputMethodActive(bool activate) { 1264 void RenderWidgetHostImpl::SetInputMethodActive(bool activate) {
1265 input_method_active_ = activate; 1265 input_method_active_ = activate;
1266 Send(new ViewMsg_SetInputMethodActive(GetRoutingID(), activate)); 1266 Send(new ViewMsg_SetInputMethodActive(GetRoutingID(), activate));
1267 } 1267 }
1268 1268
1269 void RenderWidgetHostImpl::CandidateWindowShown() {
1270 Send(new ViewMsg_CandidateWindowShown(GetRoutingID()));
1271 }
1272
1273 void RenderWidgetHostImpl::CandidateWindowUpdated() {
1274 Send(new ViewMsg_CandidateWindowUpdated(GetRoutingID()));
1275 }
1276
1277 void RenderWidgetHostImpl::CandidateWindowHidden() {
1278 Send(new ViewMsg_CandidateWindowHidden(GetRoutingID()));
1279 }
1280
1281 void RenderWidgetHostImpl::ImeSetComposition( 1269 void RenderWidgetHostImpl::ImeSetComposition(
1282 const base::string16& text, 1270 const base::string16& text,
1283 const std::vector<blink::WebCompositionUnderline>& underlines, 1271 const std::vector<blink::WebCompositionUnderline>& underlines,
1284 int selection_start, 1272 int selection_start,
1285 int selection_end) { 1273 int selection_end) {
1286 Send(new InputMsg_ImeSetComposition( 1274 Send(new InputMsg_ImeSetComposition(
1287 GetRoutingID(), text, underlines, selection_start, selection_end)); 1275 GetRoutingID(), text, underlines, selection_start, selection_end));
1288 } 1276 }
1289 1277
1290 void RenderWidgetHostImpl::ImeConfirmComposition( 1278 void RenderWidgetHostImpl::ImeConfirmComposition(
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
2120 } 2108 }
2121 2109
2122 #if defined(OS_WIN) 2110 #if defined(OS_WIN)
2123 gfx::NativeViewAccessible 2111 gfx::NativeViewAccessible
2124 RenderWidgetHostImpl::GetParentNativeViewAccessible() { 2112 RenderWidgetHostImpl::GetParentNativeViewAccessible() {
2125 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL; 2113 return delegate_ ? delegate_->GetParentNativeViewAccessible() : NULL;
2126 } 2114 }
2127 #endif 2115 #endif
2128 2116
2129 } // namespace content 2117 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.h ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698