Index: chrome/renderer/command_buffer_proxy.h |
=================================================================== |
--- chrome/renderer/command_buffer_proxy.h (revision 42644) |
+++ chrome/renderer/command_buffer_proxy.h (working copy) |
@@ -15,6 +15,7 @@ |
#include "base/scoped_ptr.h" |
#include "base/shared_memory.h" |
#include "base/task.h" |
+#include "gfx/size.h" |
#include "gpu/command_buffer/common/command_buffer.h" |
#include "ipc/ipc_channel.h" |
#include "ipc/ipc_message.h" |
@@ -51,6 +52,9 @@ |
virtual void SetToken(int32 token); |
virtual void SetParseError(gpu::error::Error error); |
+ // Asynchronously resizes an offscreen frame buffer. |
+ void ResizeOffscreenFrameBuffer(const gfx::Size& size); |
+ |
// Set a task that will be invoked the next time the window becomes invalid |
// and needs to be repainted. Takes ownership of task. |
void SetNotifyRepaintTask(Task* task) { |