| 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_
|
|
|