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

Side by Side Diff: content/browser/android/content_view_core_impl.h

Issue 2523753003: Add inputmode to android ImeAdapater. (Closed)
Patch Set: Rebase Created 4 years 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 | « no previous file | content/browser/android/content_view_core_impl.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 6 #define CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 const float top_controls_shown_ratio, 322 const float top_controls_shown_ratio,
323 const float bottom_controls_height, 323 const float bottom_controls_height,
324 const float bottom_controls_shown_ratio, 324 const float bottom_controls_shown_ratio,
325 bool is_mobile_optimized_hint, 325 bool is_mobile_optimized_hint,
326 const gfx::SelectionBound& selection_start); 326 const gfx::SelectionBound& selection_start);
327 327
328 void ForceUpdateImeAdapter(long native_ime_adapter); 328 void ForceUpdateImeAdapter(long native_ime_adapter);
329 void UpdateImeAdapter(long native_ime_adapter, 329 void UpdateImeAdapter(long native_ime_adapter,
330 int text_input_type, 330 int text_input_type,
331 int text_input_flags, 331 int text_input_flags,
332 int text_input_mode,
332 const std::string& text, 333 const std::string& text,
333 int selection_start, 334 int selection_start,
334 int selection_end, 335 int selection_end,
335 int composition_start, 336 int composition_start,
336 int composition_end, 337 int composition_end,
337 bool show_ime_if_needed, 338 bool show_ime_if_needed,
338 bool is_non_ime_change); 339 bool is_non_ime_change);
339 void OnBackgroundColorChanged(SkColor color); 340 void OnBackgroundColorChanged(SkColor color);
340 341
341 bool HasFocus(); 342 bool HasFocus();
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 470 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
470 471
471 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 472 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
472 }; 473 };
473 474
474 bool RegisterContentViewCore(JNIEnv* env); 475 bool RegisterContentViewCore(JNIEnv* env);
475 476
476 } // namespace content 477 } // namespace content
477 478
478 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 479 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698