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

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

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/test/test_render_view_host.h ('k') | no next file » | 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 #include "content/test/test_render_view_host.h" 5 #include "content/test/test_render_view_host.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h" 8 #include "content/browser/dom_storage/dom_storage_context_wrapper.h"
9 #include "content/browser/dom_storage/session_storage_namespace_impl.h" 9 #include "content/browser/dom_storage/session_storage_namespace_impl.h"
10 #include "content/browser/site_instance_impl.h" 10 #include "content/browser/site_instance_impl.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 rwh_->SetView(this); 50 rwh_->SetView(this);
51 } 51 }
52 52
53 TestRenderWidgetHostView::~TestRenderWidgetHostView() { 53 TestRenderWidgetHostView::~TestRenderWidgetHostView() {
54 } 54 }
55 55
56 RenderWidgetHost* TestRenderWidgetHostView::GetRenderWidgetHost() const { 56 RenderWidgetHost* TestRenderWidgetHostView::GetRenderWidgetHost() const {
57 return NULL; 57 return NULL;
58 } 58 }
59 59
60 gfx::Vector2dF TestRenderWidgetHostView::GetLastScrollOffset() const {
61 return gfx::Vector2dF();
62 }
63
60 gfx::NativeView TestRenderWidgetHostView::GetNativeView() const { 64 gfx::NativeView TestRenderWidgetHostView::GetNativeView() const {
61 return NULL; 65 return NULL;
62 } 66 }
63 67
64 gfx::NativeViewId TestRenderWidgetHostView::GetNativeViewId() const { 68 gfx::NativeViewId TestRenderWidgetHostView::GetNativeViewId() const {
65 return 0; 69 return 0;
66 } 70 }
67 71
68 gfx::NativeViewAccessible TestRenderWidgetHostView::GetNativeViewAccessible() { 72 gfx::NativeViewAccessible TestRenderWidgetHostView::GetNativeViewAccessible() {
69 return NULL; 73 return NULL;
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 394
391 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 395 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
392 return contents()->GetMainFrame(); 396 return contents()->GetMainFrame();
393 } 397 }
394 398
395 TestWebContents* RenderViewHostImplTestHarness::contents() { 399 TestWebContents* RenderViewHostImplTestHarness::contents() {
396 return static_cast<TestWebContents*>(web_contents()); 400 return static_cast<TestWebContents*>(web_contents());
397 } 401 }
398 402
399 } // namespace content 403 } // namespace content
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698