| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual void WindowFrameChanged() OVERRIDE {} | 69 virtual void WindowFrameChanged() OVERRIDE {} |
| 70 #endif // defined(OS_MACOSX) | 70 #endif // defined(OS_MACOSX) |
| 71 #if defined(TOOLKIT_USES_GTK) | 71 #if defined(TOOLKIT_USES_GTK) |
| 72 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 72 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 73 #if !defined(TOOLKIT_VIEWS) | 73 #if !defined(TOOLKIT_VIEWS) |
| 74 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 74 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 75 #endif // !defined(TOOLKIT_VIEWS) | 75 #endif // !defined(TOOLKIT_VIEWS) |
| 76 #endif // defined(TOOLKIT_USES_GTK) | 76 #endif // defined(TOOLKIT_USES_GTK) |
| 77 virtual void UnhandledWheelEvent( | 77 virtual void UnhandledWheelEvent( |
| 78 const WebKit::WebMouseWheelEvent& event) OVERRIDE {} | 78 const WebKit::WebMouseWheelEvent& event) OVERRIDE {} |
| 79 virtual bool CopyFromCompositingSurface( |
| 80 const gfx::Size& size, |
| 81 skia::PlatformCanvas* output) OVERRIDE; |
| 79 | 82 |
| 80 // RenderWidgetHostViewPort implementation. | 83 // RenderWidgetHostViewPort implementation. |
| 81 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 84 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
| 82 const gfx::Rect& pos) OVERRIDE {} | 85 const gfx::Rect& pos) OVERRIDE {} |
| 83 virtual void InitAsFullscreen( | 86 virtual void InitAsFullscreen( |
| 84 RenderWidgetHostView* reference_host_view) OVERRIDE {} | 87 RenderWidgetHostView* reference_host_view) OVERRIDE {} |
| 85 virtual void DidBecomeSelected() OVERRIDE {} | 88 virtual void DidBecomeSelected() OVERRIDE {} |
| 86 virtual void WasHidden() OVERRIDE {} | 89 virtual void WasHidden() OVERRIDE {} |
| 87 virtual void MovePluginWindows( | 90 virtual void MovePluginWindows( |
| 88 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} | 91 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 TestRenderViewHost* pending_test_rvh(); | 311 TestRenderViewHost* pending_test_rvh(); |
| 309 TestRenderViewHost* active_test_rvh(); | 312 TestRenderViewHost* active_test_rvh(); |
| 310 | 313 |
| 311 private: | 314 private: |
| 312 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 315 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 313 }; | 316 }; |
| 314 | 317 |
| 315 } // namespace content | 318 } // namespace content |
| 316 | 319 |
| 317 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 320 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |