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

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

Issue 2465173004: Revert "Allow selection change update before beginBatchEdit" on M55 (Closed)
Patch Set: Created 4 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
« 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 void ForceUpdateImeAdapter(long native_ime_adapter); 324 void ForceUpdateImeAdapter(long native_ime_adapter);
325 void UpdateImeAdapter(long native_ime_adapter, 325 void UpdateImeAdapter(long native_ime_adapter,
326 int text_input_type, 326 int text_input_type,
327 int text_input_flags, 327 int text_input_flags,
328 const std::string& text, 328 const std::string& text,
329 int selection_start, 329 int selection_start,
330 int selection_end, 330 int selection_end,
331 int composition_start, 331 int composition_start,
332 int composition_end, 332 int composition_end,
333 bool show_ime_if_needed, 333 bool show_ime_if_needed,
334 bool is_non_ime_change, 334 bool is_non_ime_change);
335 bool in_batch_edit_mode);
336 void SetTitle(const base::string16& title); 335 void SetTitle(const base::string16& title);
337 void OnBackgroundColorChanged(SkColor color); 336 void OnBackgroundColorChanged(SkColor color);
338 337
339 bool HasFocus(); 338 bool HasFocus();
340 void RequestDisallowInterceptTouchEvent(); 339 void RequestDisallowInterceptTouchEvent();
341 void OnGestureEventAck(const blink::WebGestureEvent& event, 340 void OnGestureEventAck(const blink::WebGestureEvent& event,
342 InputEventAckState ack_result); 341 InputEventAckState ack_result);
343 bool FilterInputEvent(const blink::WebInputEvent& event); 342 bool FilterInputEvent(const blink::WebInputEvent& event);
344 void OnSelectionChanged(const std::string& text); 343 void OnSelectionChanged(const std::string& text);
345 void OnSelectionEvent(ui::SelectionEventType event, 344 void OnSelectionEvent(ui::SelectionEventType event,
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 467 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
469 468
470 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 469 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
471 }; 470 };
472 471
473 bool RegisterContentViewCore(JNIEnv* env); 472 bool RegisterContentViewCore(JNIEnv* env);
474 473
475 } // namespace content 474 } // namespace content
476 475
477 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 476 #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