| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 // RenderWidgetHostView implementation. | 51 // RenderWidgetHostView implementation. |
| 52 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {} | 52 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {} |
| 53 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; | 53 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; |
| 54 virtual void SetSize(const gfx::Size& size) OVERRIDE {} | 54 virtual void SetSize(const gfx::Size& size) OVERRIDE {} |
| 55 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} | 55 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} |
| 56 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 56 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
| 57 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 57 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
| 58 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 58 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
| 59 virtual bool HasFocus() const OVERRIDE; | 59 virtual bool HasFocus() const OVERRIDE; |
| 60 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; |
| 60 virtual void Show() OVERRIDE; | 61 virtual void Show() OVERRIDE; |
| 61 virtual void Hide() OVERRIDE; | 62 virtual void Hide() OVERRIDE; |
| 62 virtual bool IsShowing() OVERRIDE; | 63 virtual bool IsShowing() OVERRIDE; |
| 63 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 64 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
| 64 #if defined(OS_MACOSX) | 65 #if defined(OS_MACOSX) |
| 65 virtual void SetActive(bool active) OVERRIDE; | 66 virtual void SetActive(bool active) OVERRIDE; |
| 66 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} | 67 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE {} |
| 67 virtual void SetWindowVisibility(bool visible) OVERRIDE {} | 68 virtual void SetWindowVisibility(bool visible) OVERRIDE {} |
| 68 virtual void WindowFrameChanged() OVERRIDE {} | 69 virtual void WindowFrameChanged() OVERRIDE {} |
| 69 #endif // defined(OS_MACOSX) | 70 #endif // defined(OS_MACOSX) |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 TestRenderViewHost* active_test_rvh(); | 317 TestRenderViewHost* active_test_rvh(); |
| 317 TestWebContents* contents(); | 318 TestWebContents* contents(); |
| 318 | 319 |
| 319 private: | 320 private: |
| 320 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 321 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 321 }; | 322 }; |
| 322 | 323 |
| 323 } // namespace content | 324 } // namespace content |
| 324 | 325 |
| 325 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ | 326 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |