diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 15:53:56 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-12 15:53:56 +0000 |
commit | da4dfc470626ec77c6eb3ace17e0ef009bb7f32f (patch) | |
tree | 67889a0b4921c28adcb5f7389240379351bac80f /content/public | |
parent | 03e09864d6b5738fab87b3d1e5aaeca35b0d08b6 (diff) | |
download | chromium_src-da4dfc470626ec77c6eb3ace17e0ef009bb7f32f.zip chromium_src-da4dfc470626ec77c6eb3ace17e0ef009bb7f32f.tar.gz chromium_src-da4dfc470626ec77c6eb3ace17e0ef009bb7f32f.tar.bz2 |
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
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/common/view_types.h | 25 |
1 files changed, 25 insertions, 0 deletions
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_ |