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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 virtual void SetHasHorizontalScrollbar( | 157 virtual void SetHasHorizontalScrollbar( |
158 bool has_horizontal_scrollbar) OVERRIDE { } | 158 bool has_horizontal_scrollbar) OVERRIDE { } |
159 virtual void SetScrollOffsetPinning( | 159 virtual void SetScrollOffsetPinning( |
160 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } | 160 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE { } |
161 virtual void OnAccessibilityEvents( | 161 virtual void OnAccessibilityEvents( |
162 const std::vector<AccessibilityHostMsg_EventParams>& params) OVERRIDE {} | 162 const std::vector<AccessibilityHostMsg_EventParams>& params) OVERRIDE {} |
163 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 163 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
164 #if defined(OS_WIN) && !defined(USE_AURA) | 164 #if defined(OS_WIN) && !defined(USE_AURA) |
165 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; | 165 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; |
166 #endif | 166 #endif |
167 #if defined(OS_WIN) && defined(USE_AURA) | |
168 virtual gfx::NativeViewAccessible AccessibleObjectFromChildId(long child_id) | |
169 OVERRIDE; | |
170 #endif | |
171 virtual bool LockMouse() OVERRIDE; | 167 virtual bool LockMouse() OVERRIDE; |
172 virtual void UnlockMouse() OVERRIDE; | 168 virtual void UnlockMouse() OVERRIDE; |
173 #if defined(OS_WIN) && defined(USE_AURA) | 169 #if defined(OS_WIN) && defined(USE_AURA) |
174 virtual void SetParentNativeViewAccessible( | 170 virtual void SetParentNativeViewAccessible( |
175 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 171 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
176 #endif | 172 #endif |
177 | 173 |
178 bool is_showing() const { return is_showing_; } | 174 bool is_showing() const { return is_showing_; } |
179 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } | 175 bool did_swap_compositor_frame() const { return did_swap_compositor_frame_; } |
180 | 176 |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 TestRenderViewHost* active_test_rvh(); | 369 TestRenderViewHost* active_test_rvh(); |
374 TestWebContents* contents(); | 370 TestWebContents* contents(); |
375 | 371 |
376 private: | 372 private: |
377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 373 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
378 }; | 374 }; |
379 | 375 |
380 } // namespace content | 376 } // namespace content |
381 | 377 |
382 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 378 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |