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

Unified Diff: chrome/renderer/mock_render_thread.h

Issue 174303: Modify the RenderThread to track the number of widgets... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/mock_render_thread.h
===================================================================
--- chrome/renderer/mock_render_thread.h (revision 24223)
+++ chrome/renderer/mock_render_thread.h (working copy)
@@ -41,11 +41,13 @@
virtual bool Send(IPC::Message* msg);
// Our mock thread doesn't do filtering.
- virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) {
- }
- virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) {
- }
+ virtual void AddFilter(IPC::ChannelProxy::MessageFilter* filter) { }
+ virtual void RemoveFilter(IPC::ChannelProxy::MessageFilter* filter) { }
+ // Our mock thread doesn't deal with hidden and restored tabs.
+ virtual void WidgetHidden() { }
+ virtual void WidgetRestored() { }
+
//////////////////////////////////////////////////////////////////////////
// The following functions are called by the test itself.
« no previous file with comments | « no previous file | chrome/renderer/render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698