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 "content/browser/web_contents/web_contents_impl.h" | 8 #include "content/browser/web_contents/web_contents_impl.h" |
9 #include "content/public/common/web_preferences.h" | 9 #include "content/public/common/web_preferences.h" |
10 #include "content/public/test/web_contents_tester.h" | 10 #include "content/public/test/web_contents_tester.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 int route_id, | 105 int route_id, |
106 int main_frame_route_id, | 106 int main_frame_route_id, |
107 const ViewHostMsg_CreateWindow_Params& params, | 107 const ViewHostMsg_CreateWindow_Params& params, |
108 SessionStorageNamespace* session_storage_namespace) override; | 108 SessionStorageNamespace* session_storage_namespace) override; |
109 void CreateNewWidget(int render_process_id, | 109 void CreateNewWidget(int render_process_id, |
110 int route_id, | 110 int route_id, |
111 blink::WebPopupType popup_type) override; | 111 blink::WebPopupType popup_type) override; |
112 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; | 112 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; |
113 void ShowCreatedWindow(int route_id, | 113 void ShowCreatedWindow(int route_id, |
114 WindowOpenDisposition disposition, | 114 WindowOpenDisposition disposition, |
115 const gfx::Rect& initial_pos, | 115 const gfx::Rect& initial_rect, |
116 bool user_gesture) override; | 116 bool user_gesture) override; |
117 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_pos) override; | 117 void ShowCreatedWidget(int route_id, const gfx::Rect& initial_rect) override; |
118 void ShowCreatedFullscreenWidget(int route_id) override; | 118 void ShowCreatedFullscreenWidget(int route_id) override; |
119 | 119 |
120 RenderViewHostDelegateView* delegate_view_override_; | 120 RenderViewHostDelegateView* delegate_view_override_; |
121 | 121 |
122 // Expectations for arguments of |SetHistoryOffsetAndLength()|. | 122 // Expectations for arguments of |SetHistoryOffsetAndLength()|. |
123 bool expect_set_history_offset_and_length_; | 123 bool expect_set_history_offset_and_length_; |
124 int expect_set_history_offset_and_length_history_offset_; | 124 int expect_set_history_offset_and_length_history_offset_; |
125 int expect_set_history_offset_and_length_history_length_; | 125 int expect_set_history_offset_and_length_history_length_; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace content | 128 } // namespace content |
129 | 129 |
130 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ | 130 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ |
OLD | NEW |