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

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

Issue 1341013002: [Android] Move weak ref for PopupWindowTouchHandleDrawable to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 bool HasFocus(); 257 bool HasFocus();
258 void RequestDisallowInterceptTouchEvent(); 258 void RequestDisallowInterceptTouchEvent();
259 void OnGestureEventAck(const blink::WebGestureEvent& event, 259 void OnGestureEventAck(const blink::WebGestureEvent& event,
260 InputEventAckState ack_result); 260 InputEventAckState ack_result);
261 bool FilterInputEvent(const blink::WebInputEvent& event); 261 bool FilterInputEvent(const blink::WebInputEvent& event);
262 void OnSelectionChanged(const std::string& text); 262 void OnSelectionChanged(const std::string& text);
263 void OnSelectionEvent(ui::SelectionEventType event, 263 void OnSelectionEvent(ui::SelectionEventType event,
264 const gfx::PointF& selection_anchor, 264 const gfx::PointF& selection_anchor,
265 const gfx::RectF& selection_rect); 265 const gfx::RectF& selection_rect);
266 scoped_ptr<ui::TouchHandleDrawable> CreatePopupTouchHandleDrawable();
267 266
268 void StartContentIntent(const GURL& content_url); 267 void StartContentIntent(const GURL& content_url);
269 268
270 // Shows the disambiguation popup 269 // Shows the disambiguation popup
271 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents 270 // |rect_pixels| --> window coordinates which |zoomed_bitmap| represents
272 // |zoomed_bitmap| --> magnified image of potential touch targets 271 // |zoomed_bitmap| --> magnified image of potential touch targets
273 void ShowDisambiguationPopup( 272 void ShowDisambiguationPopup(
274 const gfx::Rect& rect_pixels, const SkBitmap& zoomed_bitmap); 273 const gfx::Rect& rect_pixels, const SkBitmap& zoomed_bitmap);
275 274
276 // Creates a java-side touch event, used for injecting motion events for 275 // Creates a java-side touch event, used for injecting motion events for
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_; 388 scoped_refptr<GinJavaBridgeDispatcherHost> java_bridge_dispatcher_host_;
390 389
391 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl); 390 DISALLOW_COPY_AND_ASSIGN(ContentViewCoreImpl);
392 }; 391 };
393 392
394 bool RegisterContentViewCore(JNIEnv* env); 393 bool RegisterContentViewCore(JNIEnv* env);
395 394
396 } // namespace content 395 } // namespace content
397 396
398 #endif // CONTENT_BROWSER_ANDROID_CONTENT_VIEW_CORE_IMPL_H_ 397 #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