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

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

Issue 699333003: Support InputMethodManager#updateCursorAnchorInfo for Android 5.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // Hides a visible popup menu. 200 // Hides a visible popup menu.
201 void HideSelectPopupMenu(); 201 void HideSelectPopupMenu();
202 202
203 // All sizes and offsets are in CSS pixels as cached by the renderer. 203 // All sizes and offsets are in CSS pixels as cached by the renderer.
204 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, 204 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset,
205 float page_scale_factor, 205 float page_scale_factor,
206 const gfx::Vector2dF& page_scale_factor_limits, 206 const gfx::Vector2dF& page_scale_factor_limits,
207 const gfx::SizeF& content_size, 207 const gfx::SizeF& content_size,
208 const gfx::SizeF& viewport_size, 208 const gfx::SizeF& viewport_size,
209 const gfx::Vector2dF& controls_offset, 209 const gfx::Vector2dF& controls_offset,
210 const gfx::Vector2dF& content_offset); 210 const gfx::Vector2dF& content_offset,
211 bool has_insertion_marker,
212 float insertion_marker_x,
213 float insertion_marker_top,
214 float insertion_marker_bottom);
211 215
212 void UpdateImeAdapter(long native_ime_adapter, 216 void UpdateImeAdapter(long native_ime_adapter,
213 int text_input_type, 217 int text_input_type,
214 int text_input_flags, 218 int text_input_flags,
215 const std::string& text, 219 const std::string& text,
216 int selection_start, 220 int selection_start,
217 int selection_end, 221 int selection_end,
218 int composition_start, 222 int composition_start,
219 int composition_end, 223 int composition_end,
220 bool show_ime_if_needed, 224 bool show_ime_if_needed,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 java_bridge_dispatcher_host_; 346 java_bridge_dispatcher_host_;
343 347
344 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 348 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
345 }; 349 };
346 350
347 bool RegisterContentViewCore(JNIEnv* env); 351 bool RegisterContentViewCore(JNIEnv* env);
348 352
349 } // namespace content 353 } // namespace content
350 354
351 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 355 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698