Don't add an aura tooltip to bubble close buttons on Windows.
[chromium-blink-merge.git] / gpu / command_buffer / service / async_pixel_transfer_delegate_mock.h
blob9d2873023ed364847c2b59d07934f221f503ea90
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_MOCK
6 #define GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_MOCK
8 #include "base/basictypes.h"
9 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h"
10 #include "testing/gmock/include/gmock/gmock.h"
12 namespace gpu {
14 class MockAsyncPixelTransferDelegate : public AsyncPixelTransferDelegate {
15 public:
16 MockAsyncPixelTransferDelegate();
17 virtual ~MockAsyncPixelTransferDelegate();
19 // Called in ~MockAsyncPixelTransferDelegate.
20 MOCK_METHOD0(Destroy, void());
22 // Implement AsyncPixelTransferDelegate.
23 MOCK_METHOD3(AsyncTexImage2D,
24 void(const AsyncTexImage2DParams& tex_params,
25 const AsyncMemoryParams& mem_params,
26 const base::Closure& bind_callback));
27 MOCK_METHOD2(AsyncTexSubImage2D,
28 void(const AsyncTexSubImage2DParams& tex_params,
29 const AsyncMemoryParams& mem_params));
30 MOCK_METHOD0(TransferIsInProgress, bool());
31 MOCK_METHOD0(WaitForTransferCompletion, void());
33 private:
34 DISALLOW_COPY_AND_ASSIGN(MockAsyncPixelTransferDelegate);
37 } // namespace gpu
39 #endif // GPU_COMMAND_BUFFER_SERVICE_ASYNC_PIXEL_TRANSFER_DELEGATE_MOCK