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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 447493002: [Android] Force showing insertion handle when paste popup activated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for emptiness Created 6 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 10
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 void GetScaledContentBitmap( 226 void GetScaledContentBitmap(
227 float scale, 227 float scale,
228 SkColorType color_type, 228 SkColorType color_type,
229 gfx::Rect src_subrect, 229 gfx::Rect src_subrect,
230 const base::Callback<void(bool, const SkBitmap&)>& result_callback); 230 const base::Callback<void(bool, const SkBitmap&)>& result_callback);
231 231
232 bool HasValidFrame() const; 232 bool HasValidFrame() const;
233 233
234 void MoveCaret(const gfx::Point& point); 234 void MoveCaret(const gfx::Point& point);
235 void HideTextHandles(); 235 void HideTextHandles();
236 void OnShowingPastePopup(const gfx::PointF& point);
236 237
237 void SynchronousFrameMetadata( 238 void SynchronousFrameMetadata(
238 const cc::CompositorFrameMetadata& frame_metadata); 239 const cc::CompositorFrameMetadata& frame_metadata);
239 240
240 void SetOverlayVideoMode(bool enabled); 241 void SetOverlayVideoMode(bool enabled);
241 242
242 typedef base::Callback< 243 typedef base::Callback<
243 void(const base::string16& content, int start_offset, int end_offset)> 244 void(const base::string16& content, int start_offset, int end_offset)>
244 TextSurroundingSelectionCallback; 245 TextSurroundingSelectionCallback;
245 void SetTextSurroundingSelectionCallback( 246 void SetTextSurroundingSelectionCallback(
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 scoped_ptr<LastFrameInfo> last_frame_info_; 396 scoped_ptr<LastFrameInfo> last_frame_info_;
396 397
397 TextSurroundingSelectionCallback text_surrounding_selection_callback_; 398 TextSurroundingSelectionCallback text_surrounding_selection_callback_;
398 399
399 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); 400 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid);
400 }; 401 };
401 402
402 } // namespace content 403 } // namespace content
403 404
404 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ 405 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698