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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 virtual void HasTouchEventHandlers(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 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} | 155 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE {} |
156 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 156 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
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 OnAccessibilityNotifications( | 161 virtual void OnAccessibilityEvents( |
162 const std::vector<AccessibilityHostMsg_NotificationParams>& | 162 const std::vector<AccessibilityHostMsg_EventParams>& params) OVERRIDE {} |
163 params) OVERRIDE {} | |
164 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 163 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
165 #if defined(OS_WIN) && !defined(USE_AURA) | 164 #if defined(OS_WIN) && !defined(USE_AURA) |
166 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; | 165 virtual void SetClickthroughRegion(SkRegion* region) OVERRIDE; |
167 #endif | 166 #endif |
168 #if defined(OS_WIN) && defined(USE_AURA) | 167 #if defined(OS_WIN) && defined(USE_AURA) |
169 virtual gfx::NativeViewAccessible AccessibleObjectFromChildId(long child_id) | 168 virtual gfx::NativeViewAccessible AccessibleObjectFromChildId(long child_id) |
170 OVERRIDE; | 169 OVERRIDE; |
171 #endif | 170 #endif |
172 virtual bool LockMouse() OVERRIDE; | 171 virtual bool LockMouse() OVERRIDE; |
173 virtual void UnlockMouse() OVERRIDE; | 172 virtual void UnlockMouse() OVERRIDE; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 TestRenderViewHost* active_test_rvh(); | 373 TestRenderViewHost* active_test_rvh(); |
375 TestWebContents* contents(); | 374 TestWebContents* contents(); |
376 | 375 |
377 private: | 376 private: |
378 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
379 }; | 378 }; |
380 | 379 |
381 } // namespace content | 380 } // namespace content |
382 | 381 |
383 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 382 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |