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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 int32 height, | 141 int32 height, |
142 TransportDIB::Handle transport_dib) OVERRIDE; | 142 TransportDIB::Handle transport_dib) OVERRIDE; |
143 #elif defined(OS_ANDROID) | 143 #elif defined(OS_ANDROID) |
144 virtual void StartContentIntent(const GURL&) OVERRIDE; | 144 virtual void StartContentIntent(const GURL&) OVERRIDE; |
145 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE {} | 145 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE {} |
146 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 146 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
147 float maximum_scale) OVERRIDE {} | 147 float maximum_scale) OVERRIDE {} |
148 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset, | 148 virtual void UpdateFrameInfo(const gfx::Point& scroll_offset, |
149 float page_scale_factor, | 149 float page_scale_factor, |
150 const gfx::Size& content_size) OVERRIDE {} | 150 const gfx::Size& content_size) OVERRIDE {} |
151 virtual void DidSetNeedTouchEvents(bool need_touch_events) OVERRIDE {} | 151 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE {} |
152 #elif defined(OS_WIN) && !defined(USE_AURA) | 152 #elif defined(OS_WIN) && !defined(USE_AURA) |
153 virtual void WillWmDestroy() OVERRIDE; | 153 virtual void WillWmDestroy() OVERRIDE; |
154 #endif | 154 #endif |
155 #if defined(OS_POSIX) || defined(USE_AURA) | 155 #if defined(OS_POSIX) || defined(USE_AURA) |
156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 156 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 157 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
158 #endif | 158 #endif |
159 virtual void SetHasHorizontalScrollbar( | 159 virtual void SetHasHorizontalScrollbar( |
160 bool has_horizontal_scrollbar) OVERRIDE { } | 160 bool has_horizontal_scrollbar) OVERRIDE { } |
161 virtual void SetScrollOffsetPinning( | 161 virtual void SetScrollOffsetPinning( |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 TestRenderViewHost* active_test_rvh(); | 345 TestRenderViewHost* active_test_rvh(); |
346 TestWebContents* contents(); | 346 TestWebContents* contents(); |
347 | 347 |
348 private: | 348 private: |
349 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 349 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
350 }; | 350 }; |
351 | 351 |
352 } // namespace content | 352 } // namespace content |
353 | 353 |
354 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 354 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |