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

Side by Side Diff: Source/core/html/canvas/WebGLGetInfo.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2009 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Google Inc. All Rights Reserved. 3 * Copyright (C) 2009 Google Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 30 matching lines...) Expand all
41 #include "wtf/Uint8Array.h" 41 #include "wtf/Uint8Array.h"
42 #include "wtf/text/WTFString.h" 42 #include "wtf/text/WTFString.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 // A tagged union representing the result of get queries like 46 // A tagged union representing the result of get queries like
47 // getParameter (encompassing getBooleanv, getIntegerv, getFloatv) and 47 // getParameter (encompassing getBooleanv, getIntegerv, getFloatv) and
48 // similar variants. For reference counted types, increments and 48 // similar variants. For reference counted types, increments and
49 // decrements the reference count of the target object. 49 // decrements the reference count of the target object.
50 50
51 class WebGLGetInfo FINAL { 51 class WebGLGetInfo final {
52 STACK_ALLOCATED(); 52 STACK_ALLOCATED();
53 public: 53 public:
54 enum Type { 54 enum Type {
55 kTypeBool, 55 kTypeBool,
56 kTypeBoolArray, 56 kTypeBoolArray,
57 kTypeFloat, 57 kTypeFloat,
58 kTypeInt, 58 kTypeInt,
59 kTypeNull, 59 kTypeNull,
60 kTypeString, 60 kTypeString,
61 kTypeUnsignedInt, 61 kTypeUnsignedInt,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 RefPtrWillBeMember<WebGLRenderbuffer> m_webglRenderbuffer; 132 RefPtrWillBeMember<WebGLRenderbuffer> m_webglRenderbuffer;
133 RefPtrWillBeMember<WebGLTexture> m_webglTexture; 133 RefPtrWillBeMember<WebGLTexture> m_webglTexture;
134 RefPtr<Uint8Array> m_webglUnsignedByteArray; 134 RefPtr<Uint8Array> m_webglUnsignedByteArray;
135 RefPtr<Uint32Array> m_webglUnsignedIntArray; 135 RefPtr<Uint32Array> m_webglUnsignedIntArray;
136 RefPtrWillBeMember<WebGLVertexArrayObjectOES> m_webglVertexArrayObject; 136 RefPtrWillBeMember<WebGLVertexArrayObjectOES> m_webglVertexArrayObject;
137 }; 137 };
138 138
139 } // namespace blink 139 } // namespace blink
140 140
141 #endif // WebGLGetInfo_h 141 #endif // WebGLGetInfo_h
OLDNEW
« no previous file with comments | « Source/core/html/canvas/WebGLFramebuffer.cpp ('k') | Source/core/html/canvas/WebGLLoseContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698