Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Side by Side Diff: chrome/common/page_zoom.h

Issue 437077: Remember zoom on a per-host basis.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/common_param_traits.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_PAGE_ZOOM_H_ 5 #ifndef CHROME_COMMON_PAGE_ZOOM_H_
6 #define CHROME_COMMON_PAGE_ZOOM_H_ 6 #define CHROME_COMMON_PAGE_ZOOM_H_
7 7
8 // This enum is the parameter to various text/page zoom commands so we know
9 // what the specific zoom command is.
10 class PageZoom { 8 class PageZoom {
11 public: 9 public:
10 // This enum is the parameter to various text/page zoom commands so we know
11 // what the specific zoom command is.
12 enum Function { 12 enum Function {
13 SMALLER = -1, 13 ZOOM_OUT = -1,
14 STANDARD = 0, 14 RESET = 0,
15 LARGER = 1, 15 ZOOM_IN = 1,
16 }; 16 };
17 17
18 private: 18 private:
19 PageZoom() {} // For scoping only. 19 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom);
20 }; 20 };
21 21
22 #endif // CHROME_COMMON_PAGE_ZOOM_H_ 22 #endif // CHROME_COMMON_PAGE_ZOOM_H_
OLDNEW
« no previous file with comments | « chrome/common/common_param_traits.h ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698