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

Unified Diff: chrome/common/view_types.h

Issue 164458: Land http://codereview.chromium.org/159067: (Closed)
Patch Set: undo docs Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/extensions/bindings_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/view_types.h
diff --git a/chrome/common/view_types.h b/chrome/common/view_types.h
new file mode 100755
index 0000000000000000000000000000000000000000..4151fdd72017cb50bda03b34f358551751c4a35e
--- /dev/null
+++ b/chrome/common/view_types.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_COMMON_VIEW_TYPES_H_
+#define CHROME_COMMON_VIEW_TYPES_H_
+
+#include "base/basictypes.h"
+
+// Indicates different types of views
+class ViewType {
+ public:
+ enum Type {
+ INVALID,
+ TAB_CONTENTS,
+ EXTENSION_TOOLSTRIP,
+ EXTENSION_BACKGROUND_PAGE,
+ DEV_TOOLS_UI,
+ INTERSTITIAL_PAGE,
+ };
+
+ private:
+ // This class is for scoping only, so you shouldn't create an instance of it.
+ ViewType() {}
+
+ DISALLOW_COPY_AND_ASSIGN(ViewType);
+};
+
+#endif // CHROME_COMMON_VIEW_TYPES_H_
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/extensions/bindings_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698