| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 void ClearCompositorFrame() override {} | 100 void ClearCompositorFrame() override {} |
| 101 void SetNeedsBeginFrames(bool needs_begin_frames) override {} | 101 void SetNeedsBeginFrames(bool needs_begin_frames) override {} |
| 102 | 102 |
| 103 // RenderWidgetHostViewBase: | 103 // RenderWidgetHostViewBase: |
| 104 void InitAsPopup(RenderWidgetHostView* parent_host_view, | 104 void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 105 const gfx::Rect& bounds) override {} | 105 const gfx::Rect& bounds) override {} |
| 106 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} | 106 void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} |
| 107 void Focus() override {} | 107 void Focus() override {} |
| 108 void SetIsLoading(bool is_loading) override {} | 108 void SetIsLoading(bool is_loading) override {} |
| 109 void UpdateCursor(const WebCursor& cursor) override {} | 109 void UpdateCursor(const WebCursor& cursor) override {} |
| 110 void OnSetNeedsFlushInput() override {} | |
| 111 void RenderProcessGone(base::TerminationStatus status, | 110 void RenderProcessGone(base::TerminationStatus status, |
| 112 int error_code) override; | 111 int error_code) override; |
| 113 void Destroy() override; | 112 void Destroy() override; |
| 114 void SetTooltipText(const base::string16& tooltip_text) override {} | 113 void SetTooltipText(const base::string16& tooltip_text) override {} |
| 115 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; | 114 bool HasAcceleratedSurface(const gfx::Size& desired_size) override; |
| 116 gfx::Rect GetBoundsInRootWindow() override; | 115 gfx::Rect GetBoundsInRootWindow() override; |
| 117 bool LockMouse() override; | 116 bool LockMouse() override; |
| 118 void UnlockMouse() override; | 117 void UnlockMouse() override; |
| 119 cc::FrameSinkId GetFrameSinkId() override; | 118 cc::FrameSinkId GetFrameSinkId() override; |
| 120 | 119 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 private: | 313 private: |
| 315 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> | 314 typedef std::unique_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 316 ScopedSetSupportedScaleFactors; | 315 ScopedSetSupportedScaleFactors; |
| 317 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 316 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 318 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 317 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 319 }; | 318 }; |
| 320 | 319 |
| 321 } // namespace content | 320 } // namespace content |
| 322 | 321 |
| 323 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 322 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |