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

Side by Side Diff: Source/modules/webgl/EXTsRGB.h

Issue 1281953003: Revert of [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months 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
« no previous file with comments | « Source/modules/webgl/EXTTextureFilterAnisotropic.idl ('k') | Source/modules/webgl/EXTsRGB.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTsRGB_h 5 #ifndef EXTsRGB_h
6 #define EXTsRGB_h 6 #define EXTsRGB_h
7 7
8 #include "modules/webgl/WebGLExtension.h" 8 #include "modules/webgl/WebGLExtension.h"
9 #include "wtf/PassRefPtr.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class EXTsRGB final : public WebGLExtension { 13 class EXTsRGB final : public WebGLExtension {
13 DEFINE_WRAPPERTYPEINFO(); 14 DEFINE_WRAPPERTYPEINFO();
14 public: 15 public:
15 static EXTsRGB* create(WebGLRenderingContextBase*); 16 static PassRefPtrWillBeRawPtr<EXTsRGB> create(WebGLRenderingContextBase*);
16 static bool supported(WebGLRenderingContextBase*); 17 static bool supported(WebGLRenderingContextBase*);
17 static const char* extensionName(); 18 static const char* extensionName();
18 19
19 ~EXTsRGB() override; 20 ~EXTsRGB() override;
20 WebGLExtensionName name() const override; 21 WebGLExtensionName name() const override;
21 22
22 private: 23 private:
23 explicit EXTsRGB(WebGLRenderingContextBase*); 24 explicit EXTsRGB(WebGLRenderingContextBase*);
24 }; 25 };
25 26
26 } // namespace blink 27 } // namespace blink
27 28
28 #endif // EXTsRGB_h 29 #endif // EXTsRGB_h
OLDNEW
« no previous file with comments | « Source/modules/webgl/EXTTextureFilterAnisotropic.idl ('k') | Source/modules/webgl/EXTsRGB.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698