diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 23:49:51 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 23:49:51 +0000 |
commit | 40bd658fd9aeedc8f2f7cc17c835f41095df9189 (patch) | |
tree | 87e9562263a8a641f7d2da19f629a2737d67c041 /chrome/browser/browser.h | |
parent | 1c42268bc05d715b59d1b535e432c0d9ef666113 (diff) | |
download | chromium_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 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index 6507c98..fd7c63d 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2009 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. @@ -21,6 +21,7 @@ #include "chrome/browser/tab_contents/tab_contents_delegate.h" #include "chrome/browser/toolbar_model.h" #include "chrome/common/notification_registrar.h" +#include "chrome/common/page_zoom.h" #include "chrome/common/pref_member.h" #include "testing/gtest/include/gtest/gtest_prod.h" @@ -390,9 +391,7 @@ class Browser : public TabStripModelDelegate, void FindPrevious(); // Zoom - void ZoomIn(); - void ZoomReset(); - void ZoomOut(); + void Zoom(PageZoom::Function zoom_function); // Focus various bits of UI void FocusToolbar(); |