| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 cc::CompositorFrame frame) override; | 93 cc::CompositorFrame frame) override; |
| 94 void ClearCompositorFrame() override {} | 94 void ClearCompositorFrame() override {} |
| 95 | 95 |
| 96 // RenderWidgetHostViewBase implementation. | 96 // RenderWidgetHostViewBase implementation. |
| 97 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 97 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 98 const gfx::Rect& bounds) override {} | 98 const gfx::Rect& bounds) override {} |
| 99 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 99 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
| 100 void Focus() override {} | 100 void Focus() override {} |
| 101 void SetIsLoading(bool is_loading) override {} | 101 void SetIsLoading(bool is_loading) override {} |
| 102 void UpdateCursor(const WebCursor& cursor) override {} | 102 void UpdateCursor(const WebCursor& cursor) override {} |
| 103 void ImeCancelComposition() override {} | |
| 104 void RenderProcessGone(base::TerminationStatus status, | 103 void RenderProcessGone(base::TerminationStatus status, |
| 105 int error_code) override; | 104 int error_code) override; |
| 106 void Destroy() override; | 105 void Destroy() override; |
| 107 void SetTooltipText(const base::string16& tooltip_text) override {} | 106 void SetTooltipText(const base::string16& tooltip_text) override {} |
| 108 void CopyFromCompositingSurface( | 107 void CopyFromCompositingSurface( |
| 109 const gfx::Rect& src_subrect, | 108 const gfx::Rect& src_subrect, |
| 110 const gfx::Size& dst_size, | 109 const gfx::Size& dst_size, |
| 111 const ReadbackRequestCallback& callback, | 110 const ReadbackRequestCallback& callback, |
| 112 const SkColorType preferred_color_type) override; | 111 const SkColorType preferred_color_type) override; |
| 113 void CopyFromCompositingSurfaceToVideoFrame( | 112 void CopyFromCompositingSurfaceToVideoFrame( |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 private: | 301 private: |
| 303 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 302 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 304 ScopedSetSupportedScaleFactors; | 303 ScopedSetSupportedScaleFactors; |
| 305 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 304 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 306 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 305 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 307 }; | 306 }; |
| 308 | 307 |
| 309 } // namespace content | 308 } // namespace content |
| 310 | 309 |
| 311 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 310 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |