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_; |