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

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

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 years, 2 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_view_impl.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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // The deprecated WebContentsTester still needs to subclass this. 121 // The deprecated WebContentsTester still needs to subclass this.
122 explicit TestWebContents(BrowserContext* browser_context); 122 explicit TestWebContents(BrowserContext* browser_context);
123 123
124 private: 124 private:
125 // WebContentsImpl overrides 125 // WebContentsImpl overrides
126 void CreateNewWindow( 126 void CreateNewWindow(
127 SiteInstance* source_site_instance, 127 SiteInstance* source_site_instance,
128 int32_t route_id, 128 int32_t route_id,
129 int32_t main_frame_route_id, 129 int32_t main_frame_route_id,
130 int32_t main_frame_widget_route_id, 130 int32_t main_frame_widget_route_id,
131 const ViewHostMsg_CreateWindow_Params& params, 131 const mojom::CreateNewWindowParams& params,
132 SessionStorageNamespace* session_storage_namespace) override; 132 SessionStorageNamespace* session_storage_namespace) override;
133 void CreateNewWidget(int32_t render_process_id, 133 void CreateNewWidget(int32_t render_process_id,
134 int32_t route_id, 134 int32_t route_id,
135 blink::WebPopupType popup_type) override; 135 blink::WebPopupType popup_type) override;
136 void CreateNewFullscreenWidget(int32_t render_process_id, 136 void CreateNewFullscreenWidget(int32_t render_process_id,
137 int32_t route_id) override; 137 int32_t route_id) override;
138 void ShowCreatedWindow(int process_id, 138 void ShowCreatedWindow(int process_id,
139 int route_id, 139 int route_id,
140 WindowOpenDisposition disposition, 140 WindowOpenDisposition disposition,
141 const gfx::Rect& initial_rect, 141 const gfx::Rect& initial_rect,
(...skipping 11 matching lines...) Expand all
153 // Expectations for arguments of |SetHistoryOffsetAndLength()|. 153 // Expectations for arguments of |SetHistoryOffsetAndLength()|.
154 bool expect_set_history_offset_and_length_; 154 bool expect_set_history_offset_and_length_;
155 int expect_set_history_offset_and_length_history_offset_; 155 int expect_set_history_offset_and_length_history_offset_;
156 int expect_set_history_offset_and_length_history_length_; 156 int expect_set_history_offset_and_length_history_length_;
157 std::string save_frame_headers_; 157 std::string save_frame_headers_;
158 }; 158 };
159 159
160 } // namespace content 160 } // namespace content
161 161
162 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 162 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698