| 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_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 TransportDIB::Handle transport_dib) OVERRIDE; | 144 TransportDIB::Handle transport_dib) OVERRIDE; |
| 145 #elif defined(OS_ANDROID) | 145 #elif defined(OS_ANDROID) |
| 146 virtual void StartContentIntent(const GURL&) OVERRIDE; | 146 virtual void StartContentIntent(const GURL&) OVERRIDE; |
| 147 virtual void ShowDisambiguationPopup( | 147 virtual void ShowDisambiguationPopup( |
| 148 const gfx::Rect& target_rect, | 148 const gfx::Rect& target_rect, |
| 149 const SkBitmap& zoomed_bitmap) OVERRIDE {} | 149 const SkBitmap& zoomed_bitmap) OVERRIDE {} |
| 150 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE {} | 150 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE {} |
| 151 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 151 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
| 152 float maximum_scale) OVERRIDE {} | 152 float maximum_scale) OVERRIDE {} |
| 153 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, | 153 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, |
| 154 const gfx::Vector2d& unused_scroll_delta, |
| 154 float page_scale_factor, | 155 float page_scale_factor, |
| 155 float min_page_scale_factor, | 156 float min_page_scale_factor, |
| 156 float max_page_scale_factor, | 157 float max_page_scale_factor, |
| 157 const gfx::Size& content_size, | 158 const gfx::Size& content_size, |
| 158 const gfx::Vector2dF& controls_offset, | 159 const gfx::Vector2dF& controls_offset, |
| 159 const gfx::Vector2dF& content_offset) OVERRIDE {} | 160 const gfx::Vector2dF& content_offset) OVERRIDE {} |
| 160 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} | 161 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} |
| 161 #elif defined(OS_WIN) && !defined(USE_AURA) | 162 #elif defined(OS_WIN) && !defined(USE_AURA) |
| 162 virtual void WillWmDestroy() OVERRIDE; | 163 virtual void WillWmDestroy() OVERRIDE; |
| 163 #endif | 164 #endif |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 TestRenderViewHost* active_test_rvh(); | 346 TestRenderViewHost* active_test_rvh(); |
| 346 TestWebContents* contents(); | 347 TestWebContents* contents(); |
| 347 | 348 |
| 348 private: | 349 private: |
| 349 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 350 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 350 }; | 351 }; |
| 351 | 352 |
| 352 } // namespace content | 353 } // namespace content |
| 353 | 354 |
| 354 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 355 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |