summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 23:18:05 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 23:18:05 +0000
commit7f860dd842e8e4aab9d2b16dc6c804e4fbc6235a (patch)
treefb391a628ec98acccc5d05d04bd98e9c8f4fa958 /chrome/test
parent0b48038ecfc7d12d3b6960be265fb93276eec77a (diff)
downloadchromium_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/test')
-rw-r--r--chrome/test/automation/automation_messages_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/test/automation/automation_messages_internal.h b/chrome/test/automation/automation_messages_internal.h
index 7b65d30..65555c3 100644
--- a/chrome/test/automation/automation_messages_internal.h
+++ b/chrome/test/automation/automation_messages_internal.h
@@ -1420,4 +1420,12 @@ IPC_BEGIN_MESSAGES(Automation)
IPC_MESSAGE_ROUTED3(AutomationMsg_RunUnloadHandlers, int, gfx::NativeWindow,
int)
+ // This message sets the current zoom level on the tab
+ // Request:
+ // -int: Tab handle
+ // -int: Zoom level. Values ZOOM_OUT = -1, RESET = 0, ZOOM_IN = 1
+ // Response:
+ // None expected
+ IPC_MESSAGE_ROUTED2(AutomationMsg_SetZoomLevel, int, int)
+
IPC_END_MESSAGES(Automation)