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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 int32 width, | 130 int32 width, |
131 int32 height, | 131 int32 height, |
132 TransportDIB::Handle transport_dib) OVERRIDE; | 132 TransportDIB::Handle transport_dib) OVERRIDE; |
133 #elif defined(OS_ANDROID) | 133 #elif defined(OS_ANDROID) |
134 virtual void StartContentIntent(const GURL&) OVERRIDE; | 134 virtual void StartContentIntent(const GURL&) OVERRIDE; |
135 #elif defined(OS_WIN) && !defined(USE_AURA) | 135 #elif defined(OS_WIN) && !defined(USE_AURA) |
136 virtual void WillWmDestroy() OVERRIDE; | 136 virtual void WillWmDestroy() OVERRIDE; |
137 #endif | 137 #endif |
138 #if defined(OS_POSIX) || defined(USE_AURA) | 138 #if defined(OS_POSIX) || defined(USE_AURA) |
139 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 139 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
140 virtual gfx::Rect GetRootWindowBounds() OVERRIDE; | 140 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
141 #endif | 141 #endif |
142 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 142 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
143 bool processed) OVERRIDE { } | 143 bool processed) OVERRIDE { } |
144 virtual void SetHasHorizontalScrollbar( | 144 virtual void SetHasHorizontalScrollbar( |
145 bool has_horizontal_scrollbar) OVERRIDE { } | 145 bool has_horizontal_scrollbar) OVERRIDE { } |
146 virtual void SetScrollOffsetPinning( | 146 virtual void SetScrollOffsetPinning( |
147 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 147 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
148 | 148 |
149 #if defined(USE_AURA) | 149 #if defined(USE_AURA) |
150 virtual void AcceleratedSurfaceNew( | 150 virtual void AcceleratedSurfaceNew( |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 TestRenderViewHost* active_test_rvh(); | 316 TestRenderViewHost* active_test_rvh(); |
317 TestWebContents* contents(); | 317 TestWebContents* contents(); |
318 | 318 |
319 private: | 319 private: |
320 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 320 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
321 }; | 321 }; |
322 | 322 |
323 } // namespace content | 323 } // namespace content |
324 | 324 |
325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |