| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 const gfx::Rect& src_subrect, | 117 const gfx::Rect& src_subrect, |
| 118 const scoped_refptr<media::VideoFrame>& target, | 118 const scoped_refptr<media::VideoFrame>& target, |
| 119 const base::Callback<void(bool)>& callback) override; | 119 const base::Callback<void(bool)>& callback) override; |
| 120 bool CanCopyToVideoFrame() const override; | 120 bool CanCopyToVideoFrame() const override; |
| 121 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 121 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 122 #if defined(OS_MACOSX) | 122 #if defined(OS_MACOSX) |
| 123 bool PostProcessEventForPluginIme( | 123 bool PostProcessEventForPluginIme( |
| 124 const NativeWebKeyboardEvent& event) override; | 124 const NativeWebKeyboardEvent& event) override; |
| 125 #endif | 125 #endif |
| 126 #if defined(OS_ANDROID) | 126 #if defined(OS_ANDROID) |
| 127 virtual void LockCompositingSurface() override {} | 127 void LockCompositingSurface() override {} |
| 128 virtual void UnlockCompositingSurface() override {} | 128 void UnlockCompositingSurface() override {} |
| 129 #endif | 129 #endif |
| 130 void GetScreenInfo(blink::WebScreenInfo* results) override {} | 130 void GetScreenInfo(blink::WebScreenInfo* results) override {} |
| 131 gfx::Rect GetBoundsInRootWindow() override; | 131 gfx::Rect GetBoundsInRootWindow() override; |
| 132 gfx::GLSurfaceHandle GetCompositingSurface() override; | 132 gfx::GLSurfaceHandle GetCompositingSurface() override; |
| 133 bool LockMouse() override; | 133 bool LockMouse() override; |
| 134 void UnlockMouse() override; | 134 void UnlockMouse() override; |
| 135 #if defined(OS_WIN) | 135 #if defined(OS_WIN) |
| 136 virtual void SetParentNativeViewAccessible( | 136 virtual void SetParentNativeViewAccessible( |
| 137 gfx::NativeViewAccessible accessible_parent) override; | 137 gfx::NativeViewAccessible accessible_parent) override; |
| 138 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const override; | 138 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 private: | 319 private: |
| 320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 320 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 321 ScopedSetSupportedScaleFactors; | 321 ScopedSetSupportedScaleFactors; |
| 322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 322 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 323 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 324 }; | 324 }; |
| 325 | 325 |
| 326 } // namespace content | 326 } // namespace content |
| 327 | 327 |
| 328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 328 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |