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

Side by Side Diff: content/common/view_types.h

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: fix exports for switches, content_main Created 9 years, 3 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
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 CONTENT_COMMON_VIEW_TYPES_H_ 5 #ifndef CONTENT_COMMON_VIEW_TYPES_H_
6 #define CONTENT_COMMON_VIEW_TYPES_H_ 6 #define CONTENT_COMMON_VIEW_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "content/common/content_export.h"
10 11
11 // Indicates different types of views 12 // Indicates different types of views
12 class ViewType { 13 class CONTENT_EXPORT ViewType {
13 public: 14 public:
14 enum Type { 15 enum Type {
15 INVALID, 16 INVALID,
16 BACKGROUND_CONTENTS, 17 BACKGROUND_CONTENTS,
17 TAB_CONTENTS, 18 TAB_CONTENTS,
18 EXTENSION_BACKGROUND_PAGE, 19 EXTENSION_BACKGROUND_PAGE,
19 EXTENSION_POPUP, 20 EXTENSION_POPUP,
20 EXTENSION_INFOBAR, 21 EXTENSION_INFOBAR,
21 DEV_TOOLS_UI, 22 DEV_TOOLS_UI,
22 INTERSTITIAL_PAGE, 23 INTERSTITIAL_PAGE,
(...skipping 12 matching lines...) Expand all
35 static const char* const kAll; 36 static const char* const kAll;
36 37
37 private: 38 private:
38 // This class is for scoping only, so you shouldn't create an instance of it. 39 // This class is for scoping only, so you shouldn't create an instance of it.
39 ViewType() {} 40 ViewType() {}
40 41
41 DISALLOW_COPY_AND_ASSIGN(ViewType); 42 DISALLOW_COPY_AND_ASSIGN(ViewType);
42 }; 43 };
43 44
44 #endif // CONTENT_COMMON_VIEW_TYPES_H_ 45 #endif // CONTENT_COMMON_VIEW_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698