| Index: content/public/common/three_d_api_types.h
|
| diff --git a/content/public/common/three_d_api_types.h b/content/public/common/three_d_api_types.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e28f5bcb95e5cc2eb72548be1dca2924012b904c
|
| --- /dev/null
|
| +++ b/content/public/common/three_d_api_types.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright (c) 2012 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_THREE_D_API_TYPES_H_
|
| +#define CONTENT_PUBLIC_COMMON_THREE_D_API_TYPES_H_
|
| +
|
| +// This file describes the kinds of 3D APIs exposed to client code. It
|
| +// is mainly used to provide more precise messages when access to
|
| +// these APIs is restricted for some reason.
|
| +
|
| +namespace content {
|
| +
|
| +enum ThreeDAPIType {
|
| + THREE_D_API_TYPE_WEBGL,
|
| + THREE_D_API_TYPE_PEPPER_3D
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_PUBLIC_COMMON_THREE_D_API_TYPES_H_
|
|
|