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

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

Issue 720313004: Add autocapitalize support to IME support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pass and use inputmode for auto-capitalization settings Created 6 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
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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, 206 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset,
207 float page_scale_factor, 207 float page_scale_factor,
208 const gfx::Vector2dF& page_scale_factor_limits, 208 const gfx::Vector2dF& page_scale_factor_limits,
209 const gfx::SizeF& content_size, 209 const gfx::SizeF& content_size,
210 const gfx::SizeF& viewport_size, 210 const gfx::SizeF& viewport_size,
211 const gfx::Vector2dF& controls_offset, 211 const gfx::Vector2dF& controls_offset,
212 const gfx::Vector2dF& content_offset); 212 const gfx::Vector2dF& content_offset);
213 213
214 void UpdateImeAdapter(long native_ime_adapter, 214 void UpdateImeAdapter(long native_ime_adapter,
215 int text_input_type, 215 int text_input_type,
216 int text_input_mode,
216 int text_input_flags, 217 int text_input_flags,
217 const std::string& text, 218 const std::string& text,
218 int selection_start, 219 int selection_start,
219 int selection_end, 220 int selection_end,
220 int composition_start, 221 int composition_start,
221 int composition_end, 222 int composition_end,
222 bool show_ime_if_needed, 223 bool show_ime_if_needed,
223 bool is_non_ime_change); 224 bool is_non_ime_change);
224 void SetTitle(const base::string16& title); 225 void SetTitle(const base::string16& title);
225 void OnBackgroundColorChanged(SkColor color); 226 void OnBackgroundColorChanged(SkColor color);
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 345 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
345 346
346 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 347 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
347 }; 348 };
348 349
349 bool RegisterContentViewCore(JNIEnv* env); 350 bool RegisterContentViewCore(JNIEnv* env);
350 351
351 } // namespace content 352 } // namespace content
352 353
353 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 354 #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') | content/browser/renderer_host/ime_adapter_android.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698