| 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_
|
|
|