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

Side by Side 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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_PAGE_ZOOM_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
6 #define CONTENT_COMMON_PAGE_ZOOM_H_ 6 #define CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 10
11 class PageZoom { 11 namespace content {
12 public:
13 // This enum is the parameter to various text/page zoom commands so we know
14 // what the specific zoom command is.
15 enum Function {
16 ZOOM_OUT = -1,
17 RESET = 0,
18 ZOOM_IN = 1,
19 };
20 12
21 private: 13 // This enum is the parameter to various text/page zoom commands so we know
22 DISALLOW_IMPLICIT_CONSTRUCTORS(PageZoom); 14 // what the specific zoom command is.
15 enum PageZoom {
16 PAGE_ZOOM_OUT = -1,
17 PAGE_ZOOM_RESET = 0,
18 PAGE_ZOOM_IN = 1,
23 }; 19 };
24 20
25 #endif // CONTENT_COMMON_PAGE_ZOOM_H_ 21 } // namespace content
22
23 #endif // CONTENT_PUBLIC_COMMON_PAGE_ZOOM_H_
OLDNEW
« 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