Index: content/public/test/mock_render_thread.h |
diff --git a/content/public/test/mock_render_thread.h b/content/public/test/mock_render_thread.h |
index 909b3530ce3b2446818dab16ce794ce8ac885346..84184f42329874b658fa03bdfd5d0a69870eb462 100644 |
--- a/content/public/test/mock_render_thread.h |
+++ b/content/public/test/mock_render_thread.h |
@@ -93,8 +93,18 @@ class MockRenderThread : public RenderThread { |
int32_t opener_id() const { return opener_id_; } |
+ int32_t new_window_routing_id() const { return new_window_routing_id_; } |
+ |
void set_new_window_routing_id(int32_t id) { new_window_routing_id_ = id; } |
+ int32_t new_window_main_frame_routing_id() const { |
+ return new_window_main_frame_routing_id_; |
+ } |
+ |
+ void set_new_window_main_frame_routing_id(int32_t id) { |
+ new_window_main_frame_routing_id_ = id; |
+ } |
+ |
void set_new_window_main_frame_widget_routing_id(int32_t id) { |
new_window_main_frame_widget_routing_id_ = id; |
} |