Index: chrome/common/page_zoom.h |
=================================================================== |
--- chrome/common/page_zoom.h (revision 3355) |
+++ chrome/common/page_zoom.h (working copy) |
@@ -2,17 +2,22 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_COMMON_TEXT_ZOOM_H__ |
-#define CHROME_COMMON_TEXT_ZOOM_H__ |
+#ifndef CHROME_COMMON_PAGE_ZOOM_H_ |
+#define CHROME_COMMON_PAGE_ZOOM_H_ |
-// Used in AlterTextSize IPC call. |
-namespace text_zoom { |
- enum TextSize { |
- TEXT_SMALLER = -1, |
- TEXT_STANDARD = 0, |
- TEXT_LARGER = 1, |
+// 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 |
+#endif // CHROME_COMMON_PAGE_ZOOM_H_ |
Property changes on: chrome\common\page_zoom.h |
___________________________________________________________________ |
Added: svn:mergeinfo |
Merged /branches/chrome_webkit_merge_branch/chrome/common/text_zoom.h:r69-2775 |