summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 23:49:51 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 23:49:51 +0000
commit40bd658fd9aeedc8f2f7cc17c835f41095df9189 (patch)
tree87e9562263a8a641f7d2da19f629a2737d67c041 /webkit/tools/test_shell/layout_test_controller.cc
parent1c42268bc05d715b59d1b535e432c0d9ef666113 (diff)
downloadchromium_src-40bd658fd9aeedc8f2f7cc17c835f41095df9189.zip
chromium_src-40bd658fd9aeedc8f2f7cc17c835f41095df9189.tar.gz
chromium_src-40bd658fd9aeedc8f2f7cc17c835f41095df9189.tar.bz2
Remember zoom on a per-host basis.
BUG=567 TEST=Visit a page, zoom in or out, then navigate to a different host. The new page should not be zoomed. Go back, or restart, or open a new tab and navigate to the old page, and it should be zoomed. Review URL: http://codereview.chromium.org/437077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33886 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.cc')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.cc b/webkit/tools/test_shell/layout_test_controller.cc
index ecd92bb..bdac11f 100644
--- a/webkit/tools/test_shell/layout_test_controller.cc
+++ b/webkit/tools/test_shell/layout_test_controller.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -425,7 +425,7 @@ void LayoutTestController::objCIdentityIsEqual(
void LayoutTestController::Reset() {
if (shell_) {
- shell_->webView()->zoomDefault();
+ shell_->webView()->setZoomLevel(false, 0);
shell_->webView()->setTabKeyCyclesThroughElements(true);
}
dump_as_text_ = false;