| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 virtual void ImeCancelComposition() OVERRIDE {} | 90 virtual void ImeCancelComposition() OVERRIDE {} |
| 91 virtual void DidUpdateBackingStore( | 91 virtual void DidUpdateBackingStore( |
| 92 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 92 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
| 93 const std::vector<gfx::Rect>& rects) OVERRIDE {} | 93 const std::vector<gfx::Rect>& rects) OVERRIDE {} |
| 94 virtual void RenderViewGone(base::TerminationStatus status, | 94 virtual void RenderViewGone(base::TerminationStatus status, |
| 95 int error_code) OVERRIDE; | 95 int error_code) OVERRIDE; |
| 96 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } | 96 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) { } |
| 97 virtual void Destroy() OVERRIDE {} | 97 virtual void Destroy() OVERRIDE {} |
| 98 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {} | 98 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE {} |
| 99 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 99 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 100 virtual bool CopyFromCompositingSurface( | 100 virtual void CopyFromCompositingSurface( |
| 101 const gfx::Size& size, | |
| 102 skia::PlatformCanvas* output) OVERRIDE; | |
| 103 virtual void AsyncCopyFromCompositingSurface( | |
| 104 const gfx::Size& size, | 101 const gfx::Size& size, |
| 105 skia::PlatformCanvas* output, | 102 skia::PlatformCanvas* output, |
| 106 base::Callback<void(bool)> callback) OVERRIDE; | 103 base::Callback<void(bool)> callback) OVERRIDE; |
| 107 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 108 virtual void AcceleratedSurfaceBuffersSwapped( | 105 virtual void AcceleratedSurfaceBuffersSwapped( |
| 109 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
| 110 int gpu_host_id) OVERRIDE; | 107 int gpu_host_id) OVERRIDE; |
| 111 virtual void AcceleratedSurfacePostSubBuffer( | 108 virtual void AcceleratedSurfacePostSubBuffer( |
| 112 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 109 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
| 113 int gpu_host_id) OVERRIDE; | 110 int gpu_host_id) OVERRIDE; |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 TestRenderViewHost* active_test_rvh(); | 312 TestRenderViewHost* active_test_rvh(); |
| 316 TestWebContents* contents(); | 313 TestWebContents* contents(); |
| 317 | 314 |
| 318 private: | 315 private: |
| 319 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 316 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 320 }; | 317 }; |
| 321 | 318 |
| 322 } // namespace content | 319 } // namespace content |
| 323 | 320 |
| 324 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 321 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |