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

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

Issue 1136523004: [Sessions] Add detailed logging of SessionRestore events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo. Created 5 years, 6 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 | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/histograms/histograms.xml » ('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 #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/loader/resource_dispatcher_host_impl.h" 10 #include "content/browser/loader/resource_dispatcher_host_impl.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 is_showing_(false), 54 is_showing_(false),
55 is_occluded_(false), 55 is_occluded_(false),
56 did_swap_compositor_frame_(false) { 56 did_swap_compositor_frame_(false) {
57 rwh_->SetView(this); 57 rwh_->SetView(this);
58 } 58 }
59 59
60 TestRenderWidgetHostView::~TestRenderWidgetHostView() { 60 TestRenderWidgetHostView::~TestRenderWidgetHostView() {
61 } 61 }
62 62
63 RenderWidgetHost* TestRenderWidgetHostView::GetRenderWidgetHost() const { 63 RenderWidgetHost* TestRenderWidgetHostView::GetRenderWidgetHost() const {
64 return NULL; 64 return rwh_;
65 } 65 }
66 66
67 gfx::Vector2dF TestRenderWidgetHostView::GetLastScrollOffset() const { 67 gfx::Vector2dF TestRenderWidgetHostView::GetLastScrollOffset() const {
68 return gfx::Vector2dF(); 68 return gfx::Vector2dF();
69 } 69 }
70 70
71 gfx::NativeView TestRenderWidgetHostView::GetNativeView() const { 71 gfx::NativeView TestRenderWidgetHostView::GetNativeView() const {
72 return NULL; 72 return NULL;
73 } 73 }
74 74
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 330 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
331 return contents()->GetMainFrame(); 331 return contents()->GetMainFrame();
332 } 332 }
333 333
334 TestWebContents* RenderViewHostImplTestHarness::contents() { 334 TestWebContents* RenderViewHostImplTestHarness::contents() {
335 return static_cast<TestWebContents*>(web_contents()); 335 return static_cast<TestWebContents*>(web_contents());
336 } 336 }
337 337
338 } // namespace content 338 } // namespace content
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698