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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 #endif // defined(TOOLKIT_GTK) | 81 #endif // defined(TOOLKIT_GTK) |
82 | 82 |
83 // RenderWidgetHostViewPort implementation. | 83 // RenderWidgetHostViewPort implementation. |
84 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 84 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
85 const gfx::Rect& pos) OVERRIDE {} | 85 const gfx::Rect& pos) OVERRIDE {} |
86 virtual void InitAsFullscreen( | 86 virtual void InitAsFullscreen( |
87 RenderWidgetHostView* reference_host_view) OVERRIDE {} | 87 RenderWidgetHostView* reference_host_view) OVERRIDE {} |
88 virtual void WasShown() OVERRIDE {} | 88 virtual void WasShown() OVERRIDE {} |
89 virtual void WasHidden() OVERRIDE {} | 89 virtual void WasHidden() OVERRIDE {} |
90 virtual void MovePluginWindows( | 90 virtual void MovePluginWindows( |
| 91 const gfx::Point& scroll_offset, |
91 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} | 92 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} |
92 virtual void Focus() OVERRIDE {} | 93 virtual void Focus() OVERRIDE {} |
93 virtual void Blur() OVERRIDE {} | 94 virtual void Blur() OVERRIDE {} |
94 virtual void SetIsLoading(bool is_loading) OVERRIDE {} | 95 virtual void SetIsLoading(bool is_loading) OVERRIDE {} |
95 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} | 96 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} |
96 virtual void TextInputStateChanged( | 97 virtual void TextInputStateChanged( |
97 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {} | 98 const ViewHostMsg_TextInputState_Params& params) OVERRIDE {} |
98 virtual void ImeCancelComposition() OVERRIDE {} | 99 virtual void ImeCancelComposition() OVERRIDE {} |
99 virtual void DidUpdateBackingStore( | 100 virtual void DidUpdateBackingStore( |
100 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 101 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 TestRenderViewHost* active_test_rvh(); | 340 TestRenderViewHost* active_test_rvh(); |
340 TestWebContents* contents(); | 341 TestWebContents* contents(); |
341 | 342 |
342 private: | 343 private: |
343 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 344 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
344 }; | 345 }; |
345 | 346 |
346 } // namespace content | 347 } // namespace content |
347 | 348 |
348 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 349 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |