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

Unified Diff: content/public/common/page_zoom.h

Issue 8413051: Move PageZoom enum into content/public/common and into the content namespace. Also move content_c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 | « content/public/common/content_constants.cc ('k') | content/public/common/webkit_param_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/page_zoom.h
===================================================================
--- content/public/common/page_zoom.h (revision 107754)
+++ content/public/common/page_zoom.h (working copy)
@@ -2,24 +2,22 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_PAGE_ZOOM_H_
-#define CONTENT_COMMON_PAGE_ZOOM_H_
+#ifndef CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
+#define CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
#pragma once
#include "base/basictypes.h"
-class PageZoom {
- public:
- // This enum is the parameter to various text/page zoom commands so we know
- // what the specific zoom command is.
- enum Function {
- ZOOM_OUT = -1,
- RESET = 0,
- ZOOM_IN = 1,
- };
+namespace content {
- private:
- DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom);
+// This enum is the parameter to various text/page zoom commands so we know
+// what the specific zoom command is.
+enum PageZoom {
+ PAGE_ZOOM_OUT = -1,
+ PAGE_ZOOM_RESET = 0,
+ PAGE_ZOOM_IN = 1,
};
-#endif // CONTENT_COMMON_PAGE_ZOOM_H_
+} // namespace content
+
+#endif // CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
« no previous file with comments | « content/public/common/content_constants.cc ('k') | content/public/common/webkit_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698