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

Side by Side Diff: content/test/test_render_frame_host.h

Issue 1359163005: Remove surface_id from RenderWidget/RenderWidgetHost and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@channel_creation_preempt
Patch Set: fix more tests Created 5 years, 3 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 unified diff | Download patch
« no previous file with comments | « content/renderer/render_widget_fullscreen.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 26 matching lines...) Expand all
37 public RenderFrameHostTester { 37 public RenderFrameHostTester {
38 public: 38 public:
39 TestRenderFrameHost(SiteInstance* site_instance, 39 TestRenderFrameHost(SiteInstance* site_instance,
40 RenderViewHostImpl* render_view_host, 40 RenderViewHostImpl* render_view_host,
41 RenderFrameHostDelegate* delegate, 41 RenderFrameHostDelegate* delegate,
42 RenderWidgetHostDelegate* rwh_delegate, 42 RenderWidgetHostDelegate* rwh_delegate,
43 FrameTree* frame_tree, 43 FrameTree* frame_tree,
44 FrameTreeNode* frame_tree_node, 44 FrameTreeNode* frame_tree_node,
45 int32 routing_id, 45 int32 routing_id,
46 int32 widget_routing_id, 46 int32 widget_routing_id,
47 int32 surface_id,
48 int flags); 47 int flags);
49 ~TestRenderFrameHost() override; 48 ~TestRenderFrameHost() override;
50 49
51 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types) 50 // RenderFrameHostImpl overrides (same values, but in Test*/Mock* types)
52 TestRenderViewHost* GetRenderViewHost() override; 51 TestRenderViewHost* GetRenderViewHost() override;
53 MockRenderProcessHost* GetProcess() override; 52 MockRenderProcessHost* GetProcess() override;
54 53
55 // RenderFrameHostTester implementation. 54 // RenderFrameHostTester implementation.
56 void InitializeRenderFrameIfNeeded() override; 55 void InitializeRenderFrameIfNeeded() override;
57 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; 56 TestRenderFrameHost* AppendChild(const std::string& frame_name) override;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 144
146 // See set_simulate_history_list_was_cleared() above. 145 // See set_simulate_history_list_was_cleared() above.
147 bool simulate_history_list_was_cleared_; 146 bool simulate_history_list_was_cleared_;
148 147
149 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); 148 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
150 }; 149 };
151 150
152 } // namespace content 151 } // namespace content
153 152
154 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 153 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_fullscreen.cc ('k') | content/test/test_render_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698