| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 {} | 103 void ImeCancelComposition() override {} |
| 104 void ImeCompositionRangeChanged( | |
| 105 const gfx::Range& range, | |
| 106 const std::vector<gfx::Rect>& character_bounds) override {} | |
| 107 void RenderProcessGone(base::TerminationStatus status, | 104 void RenderProcessGone(base::TerminationStatus status, |
| 108 int error_code) override; | 105 int error_code) override; |
| 109 void Destroy() override; | 106 void Destroy() override; |
| 110 void SetTooltipText(const base::string16& tooltip_text) override {} | 107 void SetTooltipText(const base::string16& tooltip_text) override {} |
| 111 void CopyFromCompositingSurface( | 108 void CopyFromCompositingSurface( |
| 112 const gfx::Rect& src_subrect, | 109 const gfx::Rect& src_subrect, |
| 113 const gfx::Size& dst_size, | 110 const gfx::Size& dst_size, |
| 114 const ReadbackRequestCallback& callback, | 111 const ReadbackRequestCallback& callback, |
| 115 const SkColorType preferred_color_type) override; | 112 const SkColorType preferred_color_type) override; |
| 116 void CopyFromCompositingSurfaceToVideoFrame( | 113 void CopyFromCompositingSurfaceToVideoFrame( |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 private: | 302 private: |
| 306 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 303 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 307 ScopedSetSupportedScaleFactors; | 304 ScopedSetSupportedScaleFactors; |
| 308 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 305 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 309 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 306 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 310 }; | 307 }; |
| 311 | 308 |
| 312 } // namespace content | 309 } // namespace content |
| 313 | 310 |
| 314 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 311 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |