| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 #if defined(TOOLKIT_USES_GTK) | 84 #if defined(TOOLKIT_USES_GTK) |
| 85 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 85 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 86 #if !defined(TOOLKIT_VIEWS) | 86 #if !defined(TOOLKIT_VIEWS) |
| 87 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 87 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 88 #endif // !defined(TOOLKIT_VIEWS) | 88 #endif // !defined(TOOLKIT_VIEWS) |
| 89 #endif // defined(TOOLKIT_USES_GTK) | 89 #endif // defined(TOOLKIT_USES_GTK) |
| 90 virtual void UnhandledWheelEvent( | 90 virtual void UnhandledWheelEvent( |
| 91 const WebKit::WebMouseWheelEvent& event) OVERRIDE {} | 91 const WebKit::WebMouseWheelEvent& event) OVERRIDE {} |
| 92 | 92 |
| 93 // RenderWidgetHostViewPort implementation. | 93 // RenderWidgetHostViewPort implementation. |
| 94 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 94 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
| 95 const gfx::Rect& pos) OVERRIDE {} | 95 const gfx::Rect& pos) OVERRIDE {} |
| 96 virtual void InitAsFullscreen( | 96 virtual void InitAsFullscreen( |
| 97 RenderWidgetHostView* reference_host_view) OVERRIDE {} | 97 content::RenderWidgetHostView* reference_host_view) OVERRIDE {} |
| 98 virtual void DidBecomeSelected() OVERRIDE {} | 98 virtual void DidBecomeSelected() OVERRIDE {} |
| 99 virtual void WasHidden() OVERRIDE {} | 99 virtual void WasHidden() OVERRIDE {} |
| 100 virtual void MovePluginWindows( | 100 virtual void MovePluginWindows( |
| 101 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} | 101 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} |
| 102 virtual void Focus() OVERRIDE {} | 102 virtual void Focus() OVERRIDE {} |
| 103 virtual void Blur() OVERRIDE {} | 103 virtual void Blur() OVERRIDE {} |
| 104 virtual void SetIsLoading(bool is_loading) OVERRIDE {} | 104 virtual void SetIsLoading(bool is_loading) OVERRIDE {} |
| 105 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} | 105 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} |
| 106 virtual void TextInputStateChanged(ui::TextInputType state, | 106 virtual void TextInputStateChanged(ui::TextInputType state, |
| 107 bool can_compose_inline) OVERRIDE {} | 107 bool can_compose_inline) OVERRIDE {} |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 MockRenderProcessHostFactory rph_factory_; | 366 MockRenderProcessHostFactory rph_factory_; |
| 367 TestRenderViewHostFactory rvh_factory_; | 367 TestRenderViewHostFactory rvh_factory_; |
| 368 | 368 |
| 369 private: | 369 private: |
| 370 scoped_ptr<TestTabContents> contents_; | 370 scoped_ptr<TestTabContents> contents_; |
| 371 | 371 |
| 372 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 372 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
| 373 }; | 373 }; |
| 374 | 374 |
| 375 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 375 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |