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

Unified Diff: Source/core/html/canvas/WebGLAcquireSharedResourceCallback.h

Issue 17230006: Implement WEBGL_shared_resources Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/canvas/WebGLAcquireSharedResourceCallback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/WebGLAcquireSharedResourceCallback.h
diff --git a/Source/core/platform/mediastream/RTCDTMFSenderHandlerClient.h b/Source/core/html/canvas/WebGLAcquireSharedResourceCallback.h
similarity index 71%
copy from Source/core/platform/mediastream/RTCDTMFSenderHandlerClient.h
copy to Source/core/html/canvas/WebGLAcquireSharedResourceCallback.h
index 3a3f18b2f94980a346ef719d39ca19e7aa101bee..b26b29dcb0b4b572dacfa5d10a8bb7c5c616f15e 100644
--- a/Source/core/platform/mediastream/RTCDTMFSenderHandlerClient.h
+++ b/Source/core/html/canvas/WebGLAcquireSharedResourceCallback.h
@@ -10,10 +10,10 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
- * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. ``AS IS'' AND ANY
+ * THIS SOFTWARE IS PROVIDED BY GOOGLE, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
@@ -23,20 +23,21 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RTCDTMFSenderHandlerClient_h
-#define RTCDTMFSenderHandlerClient_h
+#ifndef WebGLAcquireSharedResourceCallback_h
+#define WebGLAcquireSharedResourceCallback_h
-#include "wtf/text/WTFString.h"
+#include "wtf/RefCounted.h"
namespace WebCore {
-class RTCDTMFSenderHandlerClient {
-public:
- virtual ~RTCDTMFSenderHandlerClient() { }
+class WebGLSharedObject;
- virtual void didPlayTone(const String&) = 0;
+class WebGLAcquireSharedResourceCallback : public RefCounted<WebGLAcquireSharedResourceCallback> {
+public:
+ virtual ~WebGLAcquireSharedResourceCallback();
+ virtual bool handleEvent() = 0;
};
} // namespace WebCore
-#endif // RTCDTMFSenderHandlerClient_h
+#endif // WebGLAcquireSharedResourceCallback_h
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/html/canvas/WebGLAcquireSharedResourceCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698