OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_TEST_RENDER_VIEW_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual void DidBecomeSelected() OVERRIDE {} | 62 virtual void DidBecomeSelected() OVERRIDE {} |
63 virtual void WasHidden() OVERRIDE {} | 63 virtual void WasHidden() OVERRIDE {} |
64 virtual void SetSize(const gfx::Size& size) OVERRIDE {} | 64 virtual void SetSize(const gfx::Size& size) OVERRIDE {} |
65 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} | 65 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} |
66 virtual gfx::NativeView GetNativeView() const OVERRIDE; | 66 virtual gfx::NativeView GetNativeView() const OVERRIDE; |
67 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 67 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
68 virtual void MovePluginWindows( | 68 virtual void MovePluginWindows( |
69 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} | 69 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE {} |
70 virtual void Focus() OVERRIDE {} | 70 virtual void Focus() OVERRIDE {} |
71 virtual void Blur() OVERRIDE {} | 71 virtual void Blur() OVERRIDE {} |
72 virtual bool HasFocus() OVERRIDE; | 72 virtual bool HasFocus() const OVERRIDE; |
73 virtual void Show() OVERRIDE; | 73 virtual void Show() OVERRIDE; |
74 virtual void Hide() OVERRIDE; | 74 virtual void Hide() OVERRIDE; |
75 virtual bool IsShowing() OVERRIDE; | 75 virtual bool IsShowing() OVERRIDE; |
76 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 76 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
77 virtual void SetIsLoading(bool is_loading) OVERRIDE {} | 77 virtual void SetIsLoading(bool is_loading) OVERRIDE {} |
78 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} | 78 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE {} |
79 virtual void TextInputStateChanged(ui::TextInputType state, | 79 virtual void TextInputStateChanged(ui::TextInputType state, |
80 bool can_compose_inline) OVERRIDE {} | 80 bool can_compose_inline) OVERRIDE {} |
81 virtual void ImeCancelComposition() OVERRIDE {} | 81 virtual void ImeCancelComposition() OVERRIDE {} |
82 virtual void DidUpdateBackingStore( | 82 virtual void DidUpdateBackingStore( |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 MockRenderProcessHostFactory rph_factory_; | 336 MockRenderProcessHostFactory rph_factory_; |
337 TestRenderViewHostFactory rvh_factory_; | 337 TestRenderViewHostFactory rvh_factory_; |
338 | 338 |
339 private: | 339 private: |
340 scoped_ptr<TestTabContents> contents_; | 340 scoped_ptr<TestTabContents> contents_; |
341 | 341 |
342 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); | 342 DISALLOW_COPY_AND_ASSIGN(RenderViewHostTestHarness); |
343 }; | 343 }; |
344 | 344 |
345 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ | 345 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_TEST_RENDER_VIEW_HOST_H_ |
OLD | NEW |