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

Unified Diff: content/renderer/render_view_impl.h

Issue 197873002: [Android] Suppress redundant autozoom for nodes already autozoomed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review 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 6d26cbbf0eddd1d63dcca54ec6198442e9b45267..dd2b3429f65b3e275cab34542bfa8ab46341dae2 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -1266,6 +1266,11 @@ class CONTENT_EXPORT RenderViewImpl
bool cached_has_main_frame_horizontal_scrollbar_;
bool cached_has_main_frame_vertical_scrollbar_;
+ // Bookkeeping to suppress redundant scroll and focus requests for an already
+ // scrolled and focused editable node.
+ bool has_scrolled_focused_editable_node_into_rect_;
+ gfx::Rect rect_for_scrolled_focused_editable_node_;
+
// Helper objects ------------------------------------------------------------
scoped_ptr<RenderFrameImpl> main_render_frame_;

Powered by Google App Engine
This is Rietveld 408576698