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

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

Issue 1986643002: Track pending WebContents and widgets by (process_id, routing_id) pair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-flash
Patch Set: Disable popup menu test for Mac/Android Created 4 years, 6 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
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 ViewHostMsg_CreateWindow_Params& 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 route_id, 138 void ShowCreatedWindow(int process_id,
139 int route_id,
139 WindowOpenDisposition disposition, 140 WindowOpenDisposition disposition,
140 const gfx::Rect& initial_rect, 141 const gfx::Rect& initial_rect,
141 bool user_gesture) override; 142 bool user_gesture) override;
142 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; 143 void ShowCreatedWidget(int process_id,
143 void ShowCreatedFullscreenWidget(int route_id) override; 144 int route_id,
145 const gfx::Rect& initial_rect) override;
146 void ShowCreatedFullscreenWidget(int process_id, int route_id) override;
144 void SaveFrameWithHeaders(const GURL& url, 147 void SaveFrameWithHeaders(const GURL& url,
145 const Referrer& referrer, 148 const Referrer& referrer,
146 const std::string& headers) override; 149 const std::string& headers) override;
147 150
148 RenderViewHostDelegateView* delegate_view_override_; 151 RenderViewHostDelegateView* delegate_view_override_;
149 152
150 // Expectations for arguments of |SetHistoryOffsetAndLength()|. 153 // Expectations for arguments of |SetHistoryOffsetAndLength()|.
151 bool expect_set_history_offset_and_length_; 154 bool expect_set_history_offset_and_length_;
152 int expect_set_history_offset_and_length_history_offset_; 155 int expect_set_history_offset_and_length_history_offset_;
153 int expect_set_history_offset_and_length_history_length_; 156 int expect_set_history_offset_and_length_history_length_;
154 std::string save_frame_headers_; 157 std::string save_frame_headers_;
155 }; 158 };
156 159
157 } // namespace content 160 } // namespace content
158 161
159 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 162 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/test/data/site_isolation/page-with-select.html ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698