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

Unified Diff: content/public/test/mock_render_thread.h

Issue 133483002: Fix idle handlers not being called. The problem was that RenderThread::AddRoute was assuming that e… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 6 years, 11 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 | « content/public/renderer/render_thread.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.h
===================================================================
--- content/public/test/mock_render_thread.h (revision 244175)
+++ content/public/test/mock_render_thread.h (working copy)
@@ -55,8 +55,6 @@
virtual void RemoveObserver(RenderProcessObserver* observer) OVERRIDE;
virtual void SetResourceDispatcherDelegate(
ResourceDispatcherDelegate* delegate) OVERRIDE;
- virtual void WidgetHidden() OVERRIDE;
- virtual void WidgetRestored() OVERRIDE;
virtual void EnsureWebKitInitialized() OVERRIDE;
virtual void RecordAction(const UserMetricsAction& action) OVERRIDE;
virtual void RecordComputedAction(const std::string& action) OVERRIDE;
@@ -92,10 +90,6 @@
return opener_id_;
}
- bool has_widget() const {
- return (widget_ != NULL);
- }
-
void set_new_window_routing_id(int32 id) {
new_window_routing_id_ = id;
}
@@ -156,11 +150,6 @@
// Opener id reported by the Widget.
int32 opener_id_;
- // We only keep track of one Widget, we learn its pointer when it
- // adds a new route. We do not keep track of Widgets created with
- // OnCreateWindow.
- IPC::Listener* widget_;
-
// Routing id that will be assigned to a CreateWindow Widget.
int32 new_window_routing_id_;
int32 new_window_main_frame_routing_id_;
« no previous file with comments | « content/public/renderer/render_thread.h ('k') | content/public/test/mock_render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698