Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 093ea8d9379b79d39d31bb6033ed5f7cd5d3d189..a9491cc327c6b494682224b8c74053a88150d6ea 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -243,6 +243,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. |
@@ -306,6 +309,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 |