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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 virtual bool IsSpeaking() const OVERRIDE; | 75 virtual bool IsSpeaking() const OVERRIDE; |
76 virtual void StopSpeaking() OVERRIDE; | 76 virtual void StopSpeaking() OVERRIDE; |
77 #endif // defined(OS_MACOSX) | 77 #endif // defined(OS_MACOSX) |
78 #if defined(TOOLKIT_GTK) | 78 #if defined(TOOLKIT_GTK) |
79 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 79 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
80 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 80 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
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, |
| 86 gfx::NativeWindow popup_window = NULL) OVERRIDE {} |
86 virtual void InitAsFullscreen( | 87 virtual void InitAsFullscreen( |
87 RenderWidgetHostView* reference_host_view) OVERRIDE {} | 88 RenderWidgetHostView* reference_host_view) OVERRIDE {} |
88 virtual void WasShown() OVERRIDE {} | 89 virtual void WasShown() OVERRIDE {} |
89 virtual void WasHidden() OVERRIDE {} | 90 virtual void WasHidden() OVERRIDE {} |
90 virtual void MovePluginWindows( | 91 virtual void MovePluginWindows( |
91 const gfx::Vector2d& scroll_offset, | 92 const gfx::Vector2d& scroll_offset, |
92 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} | 93 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} |
93 virtual void Focus() OVERRIDE {} | 94 virtual void Focus() OVERRIDE {} |
94 virtual void Blur() OVERRIDE {} | 95 virtual void Blur() OVERRIDE {} |
95 virtual void SetIsLoading(bool is_loading) OVERRIDE {} | 96 virtual void SetIsLoading(bool is_loading) OVERRIDE {} |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 TestRenderViewHost* active_test_rvh(); | 349 TestRenderViewHost* active_test_rvh(); |
349 TestWebContents* contents(); | 350 TestWebContents* contents(); |
350 | 351 |
351 private: | 352 private: |
352 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 353 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
353 }; | 354 }; |
354 | 355 |
355 } // namespace content | 356 } // namespace content |
356 | 357 |
357 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 358 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |