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

Side by Side Diff: chrome/common/page_zoom.h

Issue 7320: Rename various text zoom related stuff to be more generic, since we now can... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/common.vcproj ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/chrome/common/text_zoom.h:r69-2775
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_TEXT_ZOOM_H__ 5 #ifndef CHROME_COMMON_PAGE_ZOOM_H_
6 #define CHROME_COMMON_TEXT_ZOOM_H__ 6 #define CHROME_COMMON_PAGE_ZOOM_H_
7 7
8 // Used in AlterTextSize IPC call. 8 // This enum is the parameter to various text/page zoom commands so we know
9 namespace text_zoom { 9 // what the specific zoom command is.
10 enum TextSize { 10 class PageZoom {
11 TEXT_SMALLER = -1, 11 public:
12 TEXT_STANDARD = 0, 12 enum Function {
13 TEXT_LARGER = 1, 13 SMALLER = -1,
14 STANDARD = 0,
15 LARGER = 1,
14 }; 16 };
15 } 17
18 private:
19 PageZoom() {} // For scoping only.
20 };
16 21
17 #endif 22 #endif // CHROME_COMMON_PAGE_ZOOM_H_
18 23
OLDNEW
« no previous file with comments | « chrome/common/common.vcproj ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698