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

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

Issue 147202: Added support for Text only zoom... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 5 months 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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 #include "base/basictypes.h"
9
8 // This enum is the parameter to various text/page zoom commands so we know 10 // This enum is the parameter to various text/page zoom commands so we know
9 // what the specific zoom command is. 11 // what the specific zoom command is.
10 class PageZoom { 12 class PageZoom {
11 public: 13 public:
12 enum Function { 14 enum Function {
13 SMALLER = -1, 15 TEXT_ONLY_SMALLER = -2,
14 STANDARD = 0, 16 SMALLER = -1,
15 LARGER = 1, 17 STANDARD = 0,
18 LARGER = 1,
19 TEXT_ONLY_LARGER = 2,
16 }; 20 };
17 21
18 private: 22 private:
19 PageZoom() {} // For scoping only. 23 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom);
20 }; 24 };
21 25
22 #endif // CHROME_COMMON_PAGE_ZOOM_H_ 26 #endif // CHROME_COMMON_PAGE_ZOOM_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_contents/tab_contents_view_win.cc ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698