diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-09 23:18:05 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-09 23:18:05 +0000 |
commit | 7f860dd842e8e4aab9d2b16dc6c804e4fbc6235a (patch) | |
tree | fb391a628ec98acccc5d05d04bd98e9c8f4fa958 /chrome_frame/chrome_frame_automation.h | |
parent | 0b48038ecfc7d12d3b6960be265fb93276eec77a (diff) | |
download | chromium_src-7f860dd842e8e4aab9d2b16dc6c804e4fbc6235a.zip chromium_src-7f860dd842e8e4aab9d2b16dc6c804e4fbc6235a.tar.gz chromium_src-7f860dd842e8e4aab9d2b16dc6c804e4fbc6235a.tar.bz2 |
Added support in Chromeframe full tab mode IE for setting zoom levels via View->Zoom. Currently we only support
Zoom in and zoom out as Chrome only supports these zoom levels.
Added an automation IPC message AutomationMsg_SetZoomLevel to set the zoom level in ChromeFrame.
The other change is in the active document in the handling of the attach external tab message. We now honor the
dimensions if any when we Launch the URL. This ensures that any windows opened outside chrome frame also honor these
dimensions.
Fixes bug http://code.google.com/p/chromium/issues/detail?id=36000
Bug=36000
Review URL: http://codereview.chromium.org/3064049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.h')
-rw-r--r-- | chrome_frame/chrome_frame_automation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_automation.h b/chrome_frame/chrome_frame_automation.h index b38d4df..60fdcd4 100644 --- a/chrome_frame/chrome_frame_automation.h +++ b/chrome_frame/chrome_frame_automation.h @@ -18,6 +18,7 @@ #include "base/task.h" #include "base/timer.h" #include "base/thread.h" +#include "chrome/common/page_zoom.h" #include "chrome/test/automation/automation_proxy.h" #include "chrome/test/automation/tab_proxy.h" #include "chrome_frame/chrome_frame_delegate.h" @@ -277,6 +278,9 @@ class ChromeFrameAutomationClient // unload handlers on the page. void RunUnloadHandlers(HWND notification_window, int notification_message); + // Sets the current zoom level on the tab. + void SetZoomLevel(PageZoom::Function zoom_level); + protected: // ChromeFrameAutomationProxy::LaunchDelegate implementation. virtual void LaunchComplete(ChromeFrameAutomationProxy* proxy, |