summaryrefslogtreecommitdiffstats
path: root/chrome/common/page_zoom.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/page_zoom.h')
-rw-r--r--chrome/common/page_zoom.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/common/page_zoom.h b/chrome/common/page_zoom.h
new file mode 100644
index 0000000..17743b7
--- /dev/null
+++ b/chrome/common/page_zoom.h
@@ -0,0 +1,23 @@
+// Copyright (c) 2006-2008 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_
+
+// 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,
+ };
+
+ private:
+ PageZoom() {} // For scoping only.
+};
+
+#endif // CHROME_COMMON_PAGE_ZOOM_H_
+