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

Unified Diff: content/renderer/render_widget.cc

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_widget.h ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 646b94bb67de4b5c4bded1a337374550fa31f8e1..d17cf0804803d5c7cd3b507705f366db3ed8c993 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -1203,7 +1203,6 @@ void RenderWidget::willBeginCompositorFrame() {
UpdateTextInputType();
#if defined(OS_ANDROID)
UpdateTextInputState(NO_SHOW_IME, FROM_NON_IME);
- UpdateSelectionRootBounds();
#endif
UpdateSelectionBounds();
}
@@ -1642,9 +1641,6 @@ void RenderWidget::FinishHandlingImeEvent() {
// While handling an ime event, text input state and selection bounds updates
// are ignored. These must explicitly be updated once finished handling the
// ime event.
-#if defined(OS_ANDROID)
- UpdateSelectionRootBounds();
-#endif
UpdateSelectionBounds();
#if defined(OS_ANDROID)
UpdateTextInputState(NO_SHOW_IME, FROM_IME);
@@ -2043,11 +2039,6 @@ void RenderWidget::didUpdateTextOfFocusedElementByNonUserInput() {
#endif
}
-#if defined(OS_ANDROID)
-void RenderWidget::UpdateSelectionRootBounds() {
-}
-#endif
-
bool RenderWidget::HasTouchEventHandlersAt(const gfx::Point& point) const {
return true;
}
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698