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

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

Issue 8760012: Move view_types.h to view_type.h, since that's the standard name for enums. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/chrome_common.gypi ('k') | chrome/common/chrome_view_type.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_CHROME_VIEW_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_VIEW_TYPE_H_
6 #define CHROME_COMMON_CHROME_VIEW_TYPES_H_ 6 #define CHROME_COMMON_CHROME_VIEW_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/common/view_types.h" 9 #include "content/public/common/view_type.h"
10 10
11 namespace chrome { 11 namespace chrome {
12 12
13 // Indicates different types of views. 13 // Indicates different types of views.
14 enum ViewType { 14 enum ViewType {
15 VIEW_TYPE_CHROME_START = content::VIEW_TYPE_CONTENT_END, 15 VIEW_TYPE_CHROME_START = content::VIEW_TYPE_CONTENT_END,
16 16
17 VIEW_TYPE_BACKGROUND_CONTENTS, 17 VIEW_TYPE_BACKGROUND_CONTENTS,
18 VIEW_TYPE_EXTENSION_BACKGROUND_PAGE, 18 VIEW_TYPE_EXTENSION_BACKGROUND_PAGE,
19 VIEW_TYPE_EXTENSION_POPUP, 19 VIEW_TYPE_EXTENSION_POPUP,
20 VIEW_TYPE_EXTENSION_INFOBAR, 20 VIEW_TYPE_EXTENSION_INFOBAR,
21 VIEW_TYPE_NOTIFICATION, 21 VIEW_TYPE_NOTIFICATION,
22 VIEW_TYPE_EXTENSION_DIALOG, 22 VIEW_TYPE_EXTENSION_DIALOG,
23 }; 23 };
24 24
25 // Constant strings corresponding to the Type enumeration values. Used 25 // Constant strings corresponding to the Type enumeration values. Used
26 // when converting JS arguments. 26 // when converting JS arguments.
27 extern const char kViewTypeTabContents[]; 27 extern const char kViewTypeTabContents[];
28 extern const char kViewTypeBackgroundPage[]; 28 extern const char kViewTypeBackgroundPage[];
29 extern const char kViewTypePopup[]; 29 extern const char kViewTypePopup[];
30 extern const char kViewTypeInfobar[]; 30 extern const char kViewTypeInfobar[];
31 extern const char kViewTypeNotification[]; 31 extern const char kViewTypeNotification[];
32 extern const char kViewTypeExtensionDialog[]; 32 extern const char kViewTypeExtensionDialog[];
33 extern const char kViewTypeAll[]; 33 extern const char kViewTypeAll[];
34 34
35 } // namespace chrome 35 } // namespace chrome
36 36
37 #endif // CHROME_COMMON_CHROME_VIEW_TYPES_H_ 37 #endif // CHROME_COMMON_CHROME_VIEW_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/chrome_view_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698