summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_frame_delegate.h')
-rw-r--r--chrome_frame/chrome_frame_delegate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_delegate.h b/chrome_frame/chrome_frame_delegate.h
index 49ae1c1..11eaa30 100644
--- a/chrome_frame/chrome_frame_delegate.h
+++ b/chrome_frame/chrome_frame_delegate.h
@@ -37,6 +37,10 @@ class ChromeFrameDelegate {
// messages.
virtual bool IsValid() const = 0;
+ // To be called when the top-most window of an application hosting
+ // ChromeFrame is moved.
+ virtual void OnHostMoved() = 0;
+
protected:
~ChromeFrameDelegate() {}
};
@@ -71,6 +75,8 @@ class ChromeFrameDelegateImpl : public ChromeFrameDelegate {
return true;
}
+ virtual void OnHostMoved() {}
+
protected:
// Protected methods to be overriden.
virtual void OnNavigationStateChanged(int tab_handle, int flags,