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

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

Issue 1202593002: Move browser-to-renderer opener plumbing to frame routing IDs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@opener-create-opener-render-views
Patch Set: Remove suppress_opener Created 5 years, 5 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/test/test_render_view_host.cc ('k') | content/test/test_web_contents.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WEB_CONTENTS_H_ 5 #ifndef CONTENT_TEST_TEST_WEB_CONTENTS_H_
6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_ 6 #define CONTENT_TEST_TEST_WEB_CONTENTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 const Referrer& referrer, 56 const Referrer& referrer,
57 ui::PageTransition transition) override; 57 ui::PageTransition transition) override;
58 const std::string& GetSaveFrameHeaders() override; 58 const std::string& GetSaveFrameHeaders() override;
59 59
60 // True if a cross-site navigation is pending. 60 // True if a cross-site navigation is pending.
61 bool CrossProcessNavigationPending(); 61 bool CrossProcessNavigationPending();
62 62
63 // Prevent interaction with views. 63 // Prevent interaction with views.
64 bool CreateRenderViewForRenderManager( 64 bool CreateRenderViewForRenderManager(
65 RenderViewHost* render_view_host, 65 RenderViewHost* render_view_host,
66 int opener_route_id, 66 int opener_frame_routing_id,
67 int proxy_routing_id, 67 int proxy_routing_id,
68 const FrameReplicationState& replicated_frame_state, 68 const FrameReplicationState& replicated_frame_state,
69 bool for_main_frame) override; 69 bool for_main_frame) override;
70 void UpdateRenderViewSizeForRenderManager() override {} 70 void UpdateRenderViewSizeForRenderManager() override {}
71 71
72 // Returns a clone of this TestWebContents. The returned object is also a 72 // Returns a clone of this TestWebContents. The returned object is also a
73 // TestWebContents. The caller owns the returned object. 73 // TestWebContents. The caller owns the returned object.
74 WebContents* Clone() override; 74 WebContents* Clone() override;
75 75
76 // Allow mocking of the RenderViewHostDelegateView. 76 // Allow mocking of the RenderViewHostDelegateView.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Expectations for arguments of |SetHistoryOffsetAndLength()|. 134 // Expectations for arguments of |SetHistoryOffsetAndLength()|.
135 bool expect_set_history_offset_and_length_; 135 bool expect_set_history_offset_and_length_;
136 int expect_set_history_offset_and_length_history_offset_; 136 int expect_set_history_offset_and_length_history_offset_;
137 int expect_set_history_offset_and_length_history_length_; 137 int expect_set_history_offset_and_length_history_length_;
138 std::string save_frame_headers_; 138 std::string save_frame_headers_;
139 }; 139 };
140 140
141 } // namespace content 141 } // namespace content
142 142
143 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 143 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/test/test_render_view_host.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698