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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.cc

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 4 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
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/browser/renderer_host/test_backing_store.h" 5 #include "content/browser/renderer_host/test_backing_store.h"
6 #include "content/browser/renderer_host/test_render_view_host.h" 6 #include "content/browser/renderer_host/test_render_view_host.h"
7 #include "content/browser/site_instance_impl.h" 7 #include "content/browser/site_instance_impl.h"
8 #include "content/browser/web_contents/navigation_controller_impl.h" 8 #include "content/browser/web_contents/navigation_controller_impl.h"
9 #include "content/browser/web_contents/test_web_contents.h" 9 #include "content/browser/web_contents/test_web_contents.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 } 300 }
301 301
302 void TestRenderViewHost::SimulateSwapOutACK() { 302 void TestRenderViewHost::SimulateSwapOutACK() {
303 OnSwapOutACK(); 303 OnSwapOutACK();
304 } 304 }
305 305
306 void TestRenderViewHost::SimulateWasHidden() { 306 void TestRenderViewHost::SimulateWasHidden() {
307 WasHidden(); 307 WasHidden();
308 } 308 }
309 309
310 void TestRenderViewHost::SimulateWasRestored() { 310 void TestRenderViewHost::SimulateWasShown() {
311 WasRestored(); 311 WasShown();
312 } 312 }
313 313
314 void TestRenderViewHost::TestOnMsgStartDragging( 314 void TestRenderViewHost::TestOnMsgStartDragging(
315 const WebDropData& drop_data) { 315 const WebDropData& drop_data) {
316 WebKit::WebDragOperationsMask drag_operation = WebKit::WebDragOperationEvery; 316 WebKit::WebDragOperationsMask drag_operation = WebKit::WebDragOperationEvery;
317 OnMsgStartDragging(drop_data, drag_operation, SkBitmap(), gfx::Point()); 317 OnMsgStartDragging(drop_data, drag_operation, SkBitmap(), gfx::Point());
318 } 318 }
319 319
320 void TestRenderViewHost::set_simulate_fetch_via_proxy(bool proxy) { 320 void TestRenderViewHost::set_simulate_fetch_via_proxy(bool proxy) {
321 simulate_fetch_via_proxy_ = proxy; 321 simulate_fetch_via_proxy_ = proxy;
(...skipping 15 matching lines...) Expand all
337 337
338 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() { 338 TestRenderViewHost* RenderViewHostImplTestHarness::active_test_rvh() {
339 return static_cast<TestRenderViewHost*>(active_rvh()); 339 return static_cast<TestRenderViewHost*>(active_rvh());
340 } 340 }
341 341
342 TestWebContents* RenderViewHostImplTestHarness::contents() { 342 TestWebContents* RenderViewHostImplTestHarness::contents() {
343 return static_cast<TestWebContents*>(web_contents()); 343 return static_cast<TestWebContents*>(web_contents());
344 } 344 }
345 345
346 } // namespace content 346 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/test_render_view_host.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698