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

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

Issue 8985008: Don't use browser windows for platform app shell windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable platform app tests on non-GTK platforms. Created 8 years, 11 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/chrome_browser.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) 2012 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_TYPE_H_ 5 #ifndef CHROME_COMMON_CHROME_VIEW_TYPE_H_
6 #define CHROME_COMMON_CHROME_VIEW_TYPE_H_ 6 #define CHROME_COMMON_CHROME_VIEW_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/common/view_type.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 VIEW_TYPE_APP_SHELL,
23 }; 24 };
24 25
25 // Constant strings corresponding to the Type enumeration values. Used 26 // Constant strings corresponding to the Type enumeration values. Used
26 // when converting JS arguments. 27 // when converting JS arguments.
27 extern const char kViewTypeTabContents[]; 28 extern const char kViewTypeTabContents[];
28 extern const char kViewTypeBackgroundPage[]; 29 extern const char kViewTypeBackgroundPage[];
29 extern const char kViewTypePopup[]; 30 extern const char kViewTypePopup[];
30 extern const char kViewTypeInfobar[]; 31 extern const char kViewTypeInfobar[];
31 extern const char kViewTypeNotification[]; 32 extern const char kViewTypeNotification[];
32 extern const char kViewTypeExtensionDialog[]; 33 extern const char kViewTypeExtensionDialog[];
34 extern const char kViewTypeAppShell[];
33 extern const char kViewTypeAll[]; 35 extern const char kViewTypeAll[];
34 36
35 } // namespace chrome 37 } // namespace chrome
36 38
37 #endif // CHROME_COMMON_CHROME_VIEW_TYPE_H_ 39 #endif // CHROME_COMMON_CHROME_VIEW_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/chrome_view_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698