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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/page_zoom.h
===================================================================
--- chrome/common/page_zoom.h (revision 19223)
+++ chrome/common/page_zoom.h (working copy)
@@ -1,22 +1,26 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-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.
#ifndef CHROME_COMMON_PAGE_ZOOM_H_
#define CHROME_COMMON_PAGE_ZOOM_H_
+#include "base/basictypes.h"
+
// This enum is the parameter to various text/page zoom commands so we know
// what the specific zoom command is.
class PageZoom {
public:
enum Function {
- SMALLER = -1,
- STANDARD = 0,
- LARGER = 1,
+ TEXT_ONLY_SMALLER = -2,
+ SMALLER = -1,
+ STANDARD = 0,
+ LARGER = 1,
+ TEXT_ONLY_LARGER = 2,
};
private:
- PageZoom() {} // For scoping only.
+ DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom);
};
#endif // CHROME_COMMON_PAGE_ZOOM_H_
« 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