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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; | 59 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
60 virtual void Show() OVERRIDE; | 60 virtual void Show() OVERRIDE; |
61 virtual void Hide() OVERRIDE; | 61 virtual void Hide() OVERRIDE; |
62 virtual bool IsShowing() OVERRIDE; | 62 virtual bool IsShowing() OVERRIDE; |
63 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 63 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
64 #if defined(OS_MACOSX) | 64 #if defined(OS_MACOSX) |
65 virtual void SetActive(bool active) OVERRIDE; | 65 virtual void SetActive(bool active) OVERRIDE; |
66 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} | 66 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} |
67 virtual void SetWindowVisibility(bool visible) OVERRIDE {} | 67 virtual void SetWindowVisibility(bool visible) OVERRIDE {} |
68 virtual void WindowFrameChanged() OVERRIDE {} | 68 virtual void WindowFrameChanged() OVERRIDE {} |
| 69 virtual void ShowDefinitionForSelection() OVERRIDE {} |
69 #endif // defined(OS_MACOSX) | 70 #endif // defined(OS_MACOSX) |
70 #if defined(TOOLKIT_GTK) | 71 #if defined(TOOLKIT_GTK) |
71 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 72 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
72 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 73 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
73 #endif // defined(TOOLKIT_GTK) | 74 #endif // defined(TOOLKIT_GTK) |
74 | 75 |
75 // RenderWidgetHostViewPort implementation. | 76 // RenderWidgetHostViewPort implementation. |
76 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, | 77 virtual void InitAsPopup(RenderWidgetHostView* parent_host_view, |
77 const gfx::Rect& pos) OVERRIDE {} | 78 const gfx::Rect& pos) OVERRIDE {} |
78 virtual void InitAsFullscreen( | 79 virtual void InitAsFullscreen( |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 TestRenderViewHost* active_test_rvh(); | 318 TestRenderViewHost* active_test_rvh(); |
318 TestWebContents* contents(); | 319 TestWebContents* contents(); |
319 | 320 |
320 private: | 321 private: |
321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 322 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
322 }; | 323 }; |
323 | 324 |
324 } // namespace content | 325 } // namespace content |
325 | 326 |
326 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 327 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |