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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // These match the RenderView methods. 89 // These match the RenderView methods.
90 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {} 90 virtual void DidHandleMouseEvent(const blink::WebMouseEvent& event) {}
91 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {} 91 virtual void DidHandleTouchEvent(const blink::WebTouchEvent& event) {}
92 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {} 92 virtual void DidHandleGestureEvent(const blink::WebGestureEvent& event) {}
93 93
94 // These match incoming IPCs. 94 // These match incoming IPCs.
95 virtual void Navigate(const GURL& url) {} 95 virtual void Navigate(const GURL& url) {}
96 virtual void ClosePage() {} 96 virtual void ClosePage() {}
97 virtual void OrientationChangeEvent() {} 97 virtual void OrientationChangeEvent() {}
98 virtual void Resized() {} 98 virtual void FocusedElementMovedOnResize() {}
99
100 // This indicates that animations to scroll the focused element into view (if
101 // any) have completed. May be called more than once for a single focus. Can
102 // be called from browser, renderer, or compositor.
103 virtual void FocusChangeComplete() {}
99 104
100 virtual void OnStop() {} 105 virtual void OnStop() {}
101 106
102 // IPC::Listener implementation. 107 // IPC::Listener implementation.
103 bool OnMessageReceived(const IPC::Message& message) override; 108 bool OnMessageReceived(const IPC::Message& message) override;
104 109
105 // IPC::Sender implementation. 110 // IPC::Sender implementation.
106 bool Send(IPC::Message* message) override; 111 bool Send(IPC::Message* message) override;
107 112
108 RenderView* render_view() const; 113 RenderView* render_view() const;
(...skipping 19 matching lines...) Expand all
128 RenderView* render_view_; 133 RenderView* render_view_;
129 // The routing ID of the associated RenderView. 134 // The routing ID of the associated RenderView.
130 int routing_id_; 135 int routing_id_;
131 136
132 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver); 137 DISALLOW_COPY_AND_ASSIGN(RenderViewObserver);
133 }; 138 };
134 139
135 } // namespace content 140 } // namespace content
136 141
137 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_ 142 #endif // CONTENT_PUBLIC_RENDERER_RENDER_VIEW_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698