summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_delegate.h
diff options
context:
space:
mode:
authorjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-29 20:38:24 +0000
committerjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-29 20:38:24 +0000
commit326d3b7eb07359b5a88619f84286e912d4c6e531 (patch)
treef77644aae9ae1d6f21b464ce4a8b3dd9aa45e431 /chrome_frame/chrome_frame_delegate.h
parente0af339c91f198008fb80921a6f63bbea93e312d (diff)
downloadchromium_src-326d3b7eb07359b5a88619f84286e912d4c6e531.zip
chromium_src-326d3b7eb07359b5a88619f84286e912d4c6e531.tar.gz
chromium_src-326d3b7eb07359b5a88619f84286e912d4c6e531.tar.bz2
Chrome frame support for resizing popup windows
Add necesssary plumbing for window.resizeTo to work within Chrome Frame. BUG=76649 TEST=create a popup window using window.open and resize it using window.resizeTo. Sample test page is here: http://testopenpopup.comuf.com/popUp.html Review URL: http://codereview.chromium.org/6748010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_delegate.h')
-rw-r--r--chrome_frame/chrome_frame_delegate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_delegate.h b/chrome_frame/chrome_frame_delegate.h
index a43d451..0952d27 100644
--- a/chrome_frame/chrome_frame_delegate.h
+++ b/chrome_frame/chrome_frame_delegate.h
@@ -28,6 +28,10 @@ namespace net {
class URLRequestStatus;
}
+namespace gfx {
+class Rect;
+}
+
// A common interface supported by all the browser specific ChromeFrame
// implementations.
class ChromeFrameDelegate {
@@ -111,6 +115,7 @@ class ChromeFrameDelegateImpl : public ChromeFrameDelegate {
virtual void OnDidNavigate(const NavigationInfo& navigation_info) {}
virtual void OnNavigationFailed(int error_code, const GURL& gurl) {}
virtual void OnLoad(const GURL& url) {}
+ virtual void OnMoveWindow(const gfx::Rect& pos) {}
virtual void OnMessageFromChromeFrame(const std::string& message,
const std::string& origin,
const std::string& target) {}