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

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

Issue 1889313002: Revert of Browser Side Text Input State Tracking for OOPIF (Manual). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 <memory> 7 #include <memory>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 void TestRenderWidgetHostView::WasOccluded() { 116 void TestRenderWidgetHostView::WasOccluded() {
117 is_occluded_ = true; 117 is_occluded_ = true;
118 } 118 }
119 119
120 void TestRenderWidgetHostView::RenderProcessGone(base::TerminationStatus status, 120 void TestRenderWidgetHostView::RenderProcessGone(base::TerminationStatus status,
121 int error_code) { 121 int error_code) {
122 delete this; 122 delete this;
123 } 123 }
124 124
125 void TestRenderWidgetHostView::Destroy() { 125 void TestRenderWidgetHostView::Destroy() { delete this; }
126 NotifyHostDelegateAboutShutdown();
127 delete this;
128 }
129 126
130 gfx::Rect TestRenderWidgetHostView::GetViewBounds() const { 127 gfx::Rect TestRenderWidgetHostView::GetViewBounds() const {
131 return gfx::Rect(); 128 return gfx::Rect();
132 } 129 }
133 130
134 void TestRenderWidgetHostView::CopyFromCompositingSurface( 131 void TestRenderWidgetHostView::CopyFromCompositingSurface(
135 const gfx::Rect& src_subrect, 132 const gfx::Rect& src_subrect,
136 const gfx::Size& dst_size, 133 const gfx::Size& dst_size,
137 const ReadbackRequestCallback& callback, 134 const ReadbackRequestCallback& callback,
138 const SkColorType preferred_color_type) { 135 const SkColorType preferred_color_type) {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 313
317 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() { 314 TestRenderFrameHost* RenderViewHostImplTestHarness::main_test_rfh() {
318 return contents()->GetMainFrame(); 315 return contents()->GetMainFrame();
319 } 316 }
320 317
321 TestWebContents* RenderViewHostImplTestHarness::contents() { 318 TestWebContents* RenderViewHostImplTestHarness::contents() {
322 return static_cast<TestWebContents*>(web_contents()); 319 return static_cast<TestWebContents*>(web_contents());
323 } 320 }
324 321
325 } // namespace content 322 } // 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