summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_delegate.cc
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.cc
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.cc')
-rw-r--r--chrome_frame/chrome_frame_delegate.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_delegate.cc b/chrome_frame/chrome_frame_delegate.cc
index 28e631f..aba97d1 100644
--- a/chrome_frame/chrome_frame_delegate.cc
+++ b/chrome_frame/chrome_frame_delegate.cc
@@ -17,6 +17,7 @@ bool ChromeFrameDelegateImpl::IsTabMessage(const IPC::Message& message) {
IPC_MESSAGE_HANDLER_GENERIC(AutomationMsg_NavigationFailed, )
IPC_MESSAGE_HANDLER_GENERIC(AutomationMsg_DidNavigate, )
IPC_MESSAGE_HANDLER_GENERIC(AutomationMsg_TabLoaded, )
+ IPC_MESSAGE_HANDLER_GENERIC(AutomationMsg_MoveWindow, )
IPC_MESSAGE_HANDLER_GENERIC(AutomationMsg_ForwardMessageToExternalHost, )
IPC_MESSAGE_HANDLER_GENERIC(
AutomationMsg_ForwardContextMenuToExternalHost, )
@@ -54,6 +55,7 @@ bool ChromeFrameDelegateImpl::OnMessageReceived(const IPC::Message& msg) {
IPC_MESSAGE_HANDLER(AutomationMsg_NavigationFailed, OnNavigationFailed)
IPC_MESSAGE_HANDLER(AutomationMsg_DidNavigate, OnDidNavigate)
IPC_MESSAGE_HANDLER(AutomationMsg_TabLoaded, OnLoad)
+ IPC_MESSAGE_HANDLER(AutomationMsg_MoveWindow, OnMoveWindow)
IPC_MESSAGE_HANDLER(AutomationMsg_ForwardMessageToExternalHost,
OnMessageFromChromeFrame)
IPC_MESSAGE_HANDLER(AutomationMsg_ForwardContextMenuToExternalHost,