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

Unified Diff: content/browser/renderer_host/test_render_view_host.h

Issue 8819005: Get rid of the last view_messages.h include in chrome, other than tab_contents_views_mac.mm and r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/test_render_view_host.h
===================================================================
--- content/browser/renderer_host/test_render_view_host.h (revision 113050)
+++ content/browser/renderer_host/test_render_view_host.h (working copy)
@@ -38,6 +38,11 @@
const GURL& url,
content::PageTransition transition_type);
+// Utility function to fake the ViewHostMsg_UpdateRect IPC arriving at a RWH.
+void SimulateUpdateRect(RenderWidgetHost* widget,
+ TransportDIB::Id bitmap,
+ const gfx::Rect& rect);
+
// This file provides a testing framework for mocking out the RenderProcessHost
// layer. It allows you to test RenderViewHost, TabContents,
// NavigationController, and other layers above that without running an actual
« no previous file with comments | « chrome/browser/tab_contents/thumbnail_generator_unittest.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698