Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: content/test/test_render_view_host.h

Issue 525523003: Remove two unnecessary params in ViewHostMsg_UpdateRect_Params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 class TestRenderWidgetHostView : public RenderWidgetHostViewBase { 53 class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
54 public: 54 public:
55 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh); 55 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh);
56 virtual ~TestRenderWidgetHostView(); 56 virtual ~TestRenderWidgetHostView();
57 57
58 // RenderWidgetHostView implementation. 58 // RenderWidgetHostView implementation.
59 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {} 59 virtual void InitAsChild(gfx::NativeView parent_view) OVERRIDE {}
60 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE; 60 virtual RenderWidgetHost* GetRenderWidgetHost() const OVERRIDE;
61 virtual void SetSize(const gfx::Size& size) OVERRIDE {} 61 virtual void SetSize(const gfx::Size& size) OVERRIDE {}
62 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {} 62 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE {}
63 virtual gfx::Vector2dF GetLastScrollOffset() const OVERRIDE;
63 virtual gfx::NativeView GetNativeView() const OVERRIDE; 64 virtual gfx::NativeView GetNativeView() const OVERRIDE;
64 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; 65 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE;
65 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; 66 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE;
66 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE; 67 virtual ui::TextInputClient* GetTextInputClient() OVERRIDE;
67 virtual bool HasFocus() const OVERRIDE; 68 virtual bool HasFocus() const OVERRIDE;
68 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE; 69 virtual bool IsSurfaceAvailableForCopy() const OVERRIDE;
69 virtual void Show() OVERRIDE; 70 virtual void Show() OVERRIDE;
70 virtual void Hide() OVERRIDE; 71 virtual void Hide() OVERRIDE;
71 virtual bool IsShowing() OVERRIDE; 72 virtual bool IsShowing() OVERRIDE;
72 virtual gfx::Rect GetViewBounds() const OVERRIDE; 73 virtual gfx::Rect GetViewBounds() const OVERRIDE;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 private: 399 private:
399 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 400 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
400 ScopedSetSupportedScaleFactors; 401 ScopedSetSupportedScaleFactors;
401 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 402 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
402 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 403 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
403 }; 404 };
404 405
405 } // namespace content 406 } // namespace content
406 407
407 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 408 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698