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

Side by Side Diff: chrome/common/chrome_view_types.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/common/chrome_view_type.cc ('k') | chrome/common/chrome_view_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_CHROME_VIEW_TYPES_H_
6 #define CHROME_COMMON_CHROME_VIEW_TYPES_H_
7 #pragma once
8
9 #include "content/public/common/view_types.h"
10
11 namespace chrome {
12
13 // Indicates different types of views.
14 enum ViewType {
15 VIEW_TYPE_CHROME_START = content::VIEW_TYPE_CONTENT_END,
16
17 VIEW_TYPE_BACKGROUND_CONTENTS,
18 VIEW_TYPE_EXTENSION_BACKGROUND_PAGE,
19 VIEW_TYPE_EXTENSION_POPUP,
20 VIEW_TYPE_EXTENSION_INFOBAR,
21 VIEW_TYPE_NOTIFICATION,
22 VIEW_TYPE_EXTENSION_DIALOG,
23 };
24
25 // Constant strings corresponding to the Type enumeration values. Used
26 // when converting JS arguments.
27 extern const char kViewTypeTabContents[];
28 extern const char kViewTypeBackgroundPage[];
29 extern const char kViewTypePopup[];
30 extern const char kViewTypeInfobar[];
31 extern const char kViewTypeNotification[];
32 extern const char kViewTypeExtensionDialog[];
33 extern const char kViewTypeAll[];
34
35 } // namespace chrome
36
37 #endif // CHROME_COMMON_CHROME_VIEW_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/common/chrome_view_type.cc ('k') | chrome/common/chrome_view_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698