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

Side by Side Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h

Issue 2542203004: blink: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 #include "modules/webgl/WebGLRenderingContextBase.h" 30 #include "modules/webgl/WebGLRenderingContextBase.h"
31 #include <memory> 31 #include <memory>
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class ANGLEInstancedArrays; 35 class ANGLEInstancedArrays;
36 class CanvasContextCreationAttributes; 36 class CanvasContextCreationAttributes;
37 class EXTBlendMinMax; 37 class EXTBlendMinMax;
38 class EXTFragDepth; 38 class EXTFragDepth;
39 class EXTShaderTextureLOD; 39 class EXTShaderTextureLOD;
40 class EXTsRGB;
40 class EXTTextureFilterAnisotropic; 41 class EXTTextureFilterAnisotropic;
41 class OESElementIndexUint; 42 class OESElementIndexUint;
42 class OESStandardDerivatives; 43 class OESStandardDerivatives;
44 class OESTextureFloat;
43 class OESTextureFloatLinear; 45 class OESTextureFloatLinear;
46 class OESTextureHalfFloat;
44 class OESTextureHalfFloatLinear; 47 class OESTextureHalfFloatLinear;
45 class WebGLDebugRendererInfo; 48 class WebGLDebugRendererInfo;
49 class WebGLDepthTexture;
46 class WebGLLoseContext; 50 class WebGLLoseContext;
47 51
48 class WebGLRenderingContext final : public WebGLRenderingContextBase { 52 class WebGLRenderingContext final : public WebGLRenderingContextBase {
49 DEFINE_WRAPPERTYPEINFO(); 53 DEFINE_WRAPPERTYPEINFO();
50 54
51 public: 55 public:
52 class Factory : public CanvasRenderingContextFactory { 56 class Factory : public CanvasRenderingContextFactory {
53 WTF_MAKE_NONCOPYABLE(Factory); 57 WTF_MAKE_NONCOPYABLE(Factory);
54 58
55 public: 59 public:
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 context, 131 context,
128 context->is3d() && 132 context->is3d() &&
129 WebGLRenderingContextBase::getWebGLVersion(context) == 1, 133 WebGLRenderingContextBase::getWebGLVersion(context) == 1,
130 context.is3d() && 134 context.is3d() &&
131 WebGLRenderingContextBase::getWebGLVersion(&context) == 135 WebGLRenderingContextBase::getWebGLVersion(&context) ==
132 1); 136 1);
133 137
134 } // namespace blink 138 } // namespace blink
135 139
136 #endif // WebGLRenderingContext_h 140 #endif // WebGLRenderingContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698