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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 8586048: base::Bind() conversion for remaining GPU files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 1 month 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
Index: gpu/command_buffer/service/gles2_cmd_decoder.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h
index c4313ca3698cfbb86f7e8bac622e09e2b68cf007..d5004bbaa79cc69154d25b02e61ebb5ab28d0e18 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h
@@ -10,7 +10,6 @@
#include <vector>
#include "base/callback.h"
-#include "base/callback_old.h"
#include "build/build_config.h"
#include "gpu/command_buffer/service/common_decoder.h"
#include "ui/gfx/size.h"
@@ -107,10 +106,10 @@ class GLES2Decoder : public CommonDecoder {
// Sets a callback which is called when a glResizeCHROMIUM command
// is processed.
virtual void SetResizeCallback(
- Callback1<gfx::Size>::Type* callback) = 0;
+ const base::Callback<void(gfx::Size)>& callback) = 0;
// Sets a callback which is called when a SwapBuffers command is processed.
- virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0;
+ virtual void SetSwapBuffersCallback(const base::Closure& callback) = 0;
virtual void SetStreamTextureManager(StreamTextureManager* manager) = 0;
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698