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

Unified Diff: content/renderer/render_widget.h

Issue 306803002: Revert of Chromium plumbing to use the selection root bounds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl_android.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index fac7178697e5573e1fd3101bf9051ce5204a947c..8ed0c4029a8f44acdf8cd6004cbf9256c683cac5 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -509,12 +509,6 @@ class CONTENT_EXPORT RenderWidget
// by script, not by user input.
virtual void didUpdateTextOfFocusedElementByNonUserInput();
-#if defined(OS_ANDROID)
- // Checks if the selection root bounds have changed. If they have changed, the
- // new value will be sent to the browser process.
- virtual void UpdateSelectionRootBounds();
-#endif
-
// Creates a 3D context associated with this view.
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D();
@@ -631,11 +625,6 @@ class CONTENT_EXPORT RenderWidget
gfx::Rect selection_focus_rect_;
gfx::Rect selection_anchor_rect_;
- // Stores the current selection root bounds.
-#if defined(OS_ANDROID)
- gfx::Rect selection_root_rect_;
-#endif
-
// Stores the current composition character bounds.
std::vector<gfx::Rect> composition_character_bounds_;
« no previous file with comments | « content/renderer/render_view_impl_android.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698