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

Unified Diff: content/renderer/render_view_impl.h

Issue 186753002: Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on Blink patch and OS_ANDROID specific Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 2d6e498a5ada64379e6e90167f8e0913c90d0388..880a2d002b77935e315841e03e9582d8a642cfb1 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -711,6 +711,9 @@ class CONTENT_EXPORT RenderViewImpl
virtual void InstrumentDidBeginFrame() OVERRIDE;
virtual void InstrumentDidCancelFrame() OVERRIDE;
virtual void InstrumentWillComposite() OVERRIDE;
+#if defined(OS_ANDROID)
+ virtual void UpdateSelectionRootBounds();
+#endif
protected:
explicit RenderViewImpl(RenderViewImplParams* params);
@@ -953,6 +956,7 @@ class CONTENT_EXPORT RenderViewImpl
bool animate);
void OnPauseVideo();
void OnExtractSmartClipData(const gfx::Rect& rect);
+ void GetSelectionRootBounds(gfx::Rect* bounds) const;
#elif defined(OS_MACOSX)
void OnCopyToFindPboard();
void OnPluginImeCompositionCompleted(const base::string16& text,

Powered by Google App Engine
This is Rietveld 408576698