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

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

Issue 278923003: Revert of Android-side of insertion/selection handles visibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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
« 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 <vector> 8 #include <vector>
9 9
10 #include "base/android/jni_android.h" 10 #include "base/android/jni_android.h"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 void OnBackgroundColorChanged(SkColor color); 267 void OnBackgroundColorChanged(SkColor color);
268 268
269 bool HasFocus(); 269 bool HasFocus();
270 void ConfirmTouchEvent(InputEventAckState ack_result); 270 void ConfirmTouchEvent(InputEventAckState ack_result);
271 void OnGestureEventAck(const blink::WebGestureEvent& event, 271 void OnGestureEventAck(const blink::WebGestureEvent& event,
272 InputEventAckState ack_result); 272 InputEventAckState ack_result);
273 bool FilterInputEvent(const blink::WebInputEvent& event); 273 bool FilterInputEvent(const blink::WebInputEvent& event);
274 void OnSelectionChanged(const std::string& text); 274 void OnSelectionChanged(const std::string& text);
275 void OnSelectionBoundsChanged( 275 void OnSelectionBoundsChanged(
276 const ViewHostMsg_SelectionBounds_Params& params); 276 const ViewHostMsg_SelectionBounds_Params& params);
277 void OnSelectionRootBoundsChanged(const gfx::Rect& bounds);
278 277
279 void StartContentIntent(const GURL& content_url); 278 void StartContentIntent(const GURL& content_url);
280 279
281 // Shows the disambiguation popup 280 // Shows the disambiguation popup
282 // |target_rect| --> window coordinates which |zoomed_bitmap| represents 281 // |target_rect| --> window coordinates which |zoomed_bitmap| represents
283 // |zoomed_bitmap| --> magnified image of potential touch targets 282 // |zoomed_bitmap| --> magnified image of potential touch targets
284 void ShowDisambiguationPopup( 283 void ShowDisambiguationPopup(
285 const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap); 284 const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap);
286 285
287 // Creates a java-side touch event, used for injecting touch event for 286 // Creates a java-side touch event, used for injecting touch event for
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 bool geolocation_needs_pause_; 400 bool geolocation_needs_pause_;
402 401
403 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 402 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
404 }; 403 };
405 404
406 bool RegisterContentViewCore(JNIEnv* env); 405 bool RegisterContentViewCore(JNIEnv* env);
407 406
408 } // namespace content 407 } // namespace content
409 408
410 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 409 #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