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

Unified Diff: content/public/renderer/render_view_observer.h

Issue 715733002: [Android] Show autofill popup after animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hide popup when resizing the viewport resulted in movement of the focused element. Created 6 years 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/public/renderer/render_view_observer.h
diff --git a/content/public/renderer/render_view_observer.h b/content/public/renderer/render_view_observer.h
index 0100324edced9210f28d5f09e00972b3a6e19714..9aa54f4eab78f68d1d809a446f2c5b5a08778a21 100644
--- a/content/public/renderer/render_view_observer.h
+++ b/content/public/renderer/render_view_observer.h
@@ -95,7 +95,12 @@ class CONTENT_EXPORT RenderViewObserver : public IPC::Listener,
virtual void Navigate(const GURL& url) {}
virtual void ClosePage() {}
virtual void OrientationChangeEvent() {}
- virtual void Resized() {}
+ virtual void FocusedElementMovedOnResize() {}
+
+ // This indicates that animations to scroll the focused element into view (if
+ // any) have completed. May be called more than once for a single focus. Can
+ // be called from browser, renderer, or compositor.
+ virtual void FocusChangeComplete() {}
virtual void OnStop() {}

Powered by Google App Engine
This is Rietveld 408576698