| 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_TEST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 void CopyFromCompositingSurfaceToVideoFrame( | 120 void CopyFromCompositingSurfaceToVideoFrame( |
| 121 const gfx::Rect& src_subrect, | 121 const gfx::Rect& src_subrect, |
| 122 const scoped_refptr<media::VideoFrame>& target, | 122 const scoped_refptr<media::VideoFrame>& target, |
| 123 const base::Callback<void(bool)>& callback) override; | 123 const base::Callback<void(bool)>& callback) override; |
| 124 bool CanCopyToVideoFrame() const override; | 124 bool CanCopyToVideoFrame() const override; |
| 125 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 125 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 126 #if defined(OS_MACOSX) | 126 #if defined(OS_MACOSX) |
| 127 bool PostProcessEventForPluginIme( | 127 bool PostProcessEventForPluginIme( |
| 128 const NativeWebKeyboardEvent& event) override; | 128 const NativeWebKeyboardEvent& event) override; |
| 129 #endif | 129 #endif |
| 130 #if defined(OS_ANDROID) | 130 #if defined(OS_ANDROID) && !defined(USE_AURA) |
| 131 void LockCompositingSurface() override {} | 131 void LockCompositingSurface() override {} |
| 132 void UnlockCompositingSurface() override {} | 132 void UnlockCompositingSurface() override {} |
| 133 #endif | 133 #endif |
| 134 void GetScreenInfo(blink::WebScreenInfo* results) override {} | 134 void GetScreenInfo(blink::WebScreenInfo* results) override {} |
| 135 gfx::Rect GetBoundsInRootWindow() override; | 135 gfx::Rect GetBoundsInRootWindow() override; |
| 136 gfx::GLSurfaceHandle GetCompositingSurface() override; | 136 gfx::GLSurfaceHandle GetCompositingSurface() override; |
| 137 bool LockMouse() override; | 137 bool LockMouse() override; |
| 138 void UnlockMouse() override; | 138 void UnlockMouse() override; |
| 139 #if defined(OS_WIN) | 139 #if defined(OS_WIN) |
| 140 void SetParentNativeViewAccessible( | 140 void SetParentNativeViewAccessible( |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 private: | 321 private: |
| 322 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 322 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 323 ScopedSetSupportedScaleFactors; | 323 ScopedSetSupportedScaleFactors; |
| 324 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 324 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 325 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 325 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 326 }; | 326 }; |
| 327 | 327 |
| 328 } // namespace content | 328 } // namespace content |
| 329 | 329 |
| 330 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 330 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |