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

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

Issue 2803203003: Revert of Migrate IME state update flow (Closed)
Patch Set: 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
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, 256 void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset,
257 float page_scale_factor, 257 float page_scale_factor,
258 const gfx::Vector2dF& page_scale_factor_limits, 258 const gfx::Vector2dF& page_scale_factor_limits,
259 const gfx::SizeF& content_size, 259 const gfx::SizeF& content_size,
260 const gfx::SizeF& viewport_size, 260 const gfx::SizeF& viewport_size,
261 const float top_controls_height, 261 const float top_controls_height,
262 const float top_controls_shown_ratio, 262 const float top_controls_shown_ratio,
263 bool is_mobile_optimized_hint, 263 bool is_mobile_optimized_hint,
264 const gfx::SelectionBound& selection_start); 264 const gfx::SelectionBound& selection_start);
265 265
266 void UpdateImeAdapter(int text_input_type,
267 int text_input_flags,
268 int text_input_mode,
269 const std::string& text,
270 int selection_start,
271 int selection_end,
272 int composition_start,
273 int composition_end,
274 bool show_ime_if_needed,
275 bool reply_to_request);
276
266 bool HasFocus(); 277 bool HasFocus();
267 void RequestDisallowInterceptTouchEvent(); 278 void RequestDisallowInterceptTouchEvent();
268 void OnGestureEventAck(const blink::WebGestureEvent& event, 279 void OnGestureEventAck(const blink::WebGestureEvent& event,
269 InputEventAckState ack_result); 280 InputEventAckState ack_result);
270 bool FilterInputEvent(const blink::WebInputEvent& event); 281 bool FilterInputEvent(const blink::WebInputEvent& event);
271 void OnSelectionChanged(const std::string& text); 282 void OnSelectionChanged(const std::string& text);
272 void OnSelectionEvent(ui::SelectionEventType event, 283 void OnSelectionEvent(ui::SelectionEventType event,
273 const gfx::PointF& selection_anchor, 284 const gfx::PointF& selection_anchor,
274 const gfx::RectF& selection_rect); 285 const gfx::RectF& selection_rect);
275 286
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 398 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
388 399
389 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 400 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
390 }; 401 };
391 402
392 bool RegisterContentViewCore(JNIEnv* env); 403 bool RegisterContentViewCore(JNIEnv* env);
393 404
394 } // namespace content 405 } // namespace content
395 406
396 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 407 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698