| 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 float page_scale_factor, | 154 float page_scale_factor, |
| 155 float min_page_scale_factor, | 155 float min_page_scale_factor, |
| 156 float max_page_scale_factor, | 156 float max_page_scale_factor, |
| 157 const gfx::Size& content_size, | 157 const gfx::Size& content_size, |
| 158 const gfx::Vector2dF& controls_offset, | 158 const gfx::Vector2dF& controls_offset, |
| 159 const gfx::Vector2dF& content_offset) OVERRIDE {} | 159 const gfx::Vector2dF& content_offset) OVERRIDE {} |
| 160 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} | 160 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} |
| 161 #elif defined(OS_WIN) && !defined(USE_AURA) | 161 #elif defined(OS_WIN) && !defined(USE_AURA) |
| 162 virtual void WillWmDestroy() OVERRIDE; | 162 virtual void WillWmDestroy() OVERRIDE; |
| 163 #endif | 163 #endif |
| 164 #if defined(OS_POSIX) || defined(USE_AURA) | |
| 165 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 164 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
| 166 #endif | |
| 167 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 165 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 168 virtual void SetHasHorizontalScrollbar( | 166 virtual void SetHasHorizontalScrollbar( |
| 169 bool has_horizontal_scrollbar) OVERRIDE { } | 167 bool has_horizontal_scrollbar) OVERRIDE { } |
| 170 virtual void SetScrollOffsetPinning( | 168 virtual void SetScrollOffsetPinning( |
| 171 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 169 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
| 172 | 170 |
| 173 #if defined(TOOLKIT_GTK) | 171 #if defined(TOOLKIT_GTK) |
| 174 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 172 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
| 175 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } | 173 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE { } |
| 176 #endif // defined(TOOLKIT_GTK) | 174 #endif // defined(TOOLKIT_GTK) |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 TestRenderViewHost* active_test_rvh(); | 343 TestRenderViewHost* active_test_rvh(); |
| 346 TestWebContents* contents(); | 344 TestWebContents* contents(); |
| 347 | 345 |
| 348 private: | 346 private: |
| 349 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 347 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 350 }; | 348 }; |
| 351 | 349 |
| 352 } // namespace content | 350 } // namespace content |
| 353 | 351 |
| 354 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 352 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |