From da4dfc470626ec77c6eb3ace17e0ef009bb7f32f Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Wed, 12 Oct 2011 15:53:56 +0000 Subject: Move view_types to content\public\common. Also update the enum values to match the convention that we're using for the Content API. BUG=98716 Review URL: http://codereview.chromium.org/8232024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105083 0039d316-1c4b-4281-b951-d872f2087c98 --- content/public/common/view_types.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 content/public/common/view_types.h (limited to 'content/public') diff --git a/content/public/common/view_types.h b/content/public/common/view_types.h new file mode 100644 index 0000000..499be02 --- /dev/null +++ b/content/public/common/view_types.h @@ -0,0 +1,25 @@ +// Copyright (c) 2011 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 CONTENT_PUBLIC_COMMON_VIEW_TYPES_H_ +#define CONTENT_PUBLIC_COMMON_VIEW_TYPES_H_ +#pragma once + +namespace content { + +// Indicates different types of views. +enum ViewTypeValues { + VIEW_TYPE_INVALID, + VIEW_TYPE_TAB_CONTENTS, + VIEW_TYPE_INTERSTITIAL_PAGE, + VIEW_TYPE_DEV_TOOLS_UI, + + VIEW_TYPE_CONTENT_END +}; + +typedef int ViewType; + +} // namespace content + +#endif // CONTENT_PUBLIC_COMMON_VIEW_TYPES_H_ -- cgit v1.1