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

Unified Diff: content/renderer/render_view_impl.cc

Issue 236733006: Allow the user to tap the selected editable again after rotation to trigger another zoom/center anim (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PTAL modified according to review comments Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 46bc7f49a055d1306b8b71b601fd942274d9c1f5..694a2bbce9e9f3eb37c6ac0c20b09e5489ede6b8 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3340,6 +3340,7 @@ void RenderViewImpl::OnMediaPlayerActionAt(const gfx::Point& location,
void RenderViewImpl::OnOrientationChangeEvent(int orientation) {
// Screen has rotated. 0 = default (portrait), 90 = one turn right, and so on.
+ has_scrolled_focused_editable_node_into_rect_ = false;
FOR_EACH_OBSERVER(RenderViewObserver,
observers_,
OrientationChangeEvent(orientation));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698