| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |