Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 521797a42c62e752ed90e89fde8c0bc529098cad..37664af6b9a5c3ba70fb41e22d08a6f836b4f1a4 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -232,6 +232,9 @@ class CONTENT_EXPORT RenderWidget |
virtual void InstrumentDidCancelFrame() {} |
virtual void InstrumentWillComposite() {} |
+ // Called by the compositor when page scale animation completed. |
+ virtual void DidCompletePageScaleAnimation() {} |
+ |
// When paused in debugger, we send ack for mouse event early. This ensures |
// that we continue receiving mouse moves and pass them to debugger. Returns |
// whether we are paused in mouse move event and have sent the ack. |
@@ -295,6 +298,10 @@ class CONTENT_EXPORT RenderWidget |
void UpdateTextInputState(ShowIme show_ime, ChangeSource change_source); |
#endif |
+ // Called when animations due to focus change have completed (if any). Can be |
+ // called from the renderer, browser, or compositor. |
+ virtual void FocusChangeComplete() {} |
+ |
// Checks if the composition range or composition character bounds have been |
// changed. If they are changed, the new value will be sent to the browser |
// process. This method does nothing when the browser process is not able to |