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

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

Issue 1224363002: OOPIF: Fix window.open to work from frames with remote parent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove internal:: from ToRenderFrameHost 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/content_browser_test_utils_internal.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 const base::string16& error_description, 109 const base::string16& error_description,
110 bool was_ignored_by_handler); 110 bool was_ignored_by_handler);
111 111
112 protected: 112 protected:
113 // The deprecated WebContentsTester still needs to subclass this. 113 // The deprecated WebContentsTester still needs to subclass this.
114 explicit TestWebContents(BrowserContext* browser_context); 114 explicit TestWebContents(BrowserContext* browser_context);
115 115
116 private: 116 private:
117 // WebContentsImpl overrides 117 // WebContentsImpl overrides
118 void CreateNewWindow( 118 void CreateNewWindow(
119 int render_process_id, 119 SiteInstance* source_site_instance,
120 int route_id, 120 int route_id,
121 int main_frame_route_id, 121 int main_frame_route_id,
122 const ViewHostMsg_CreateWindow_Params& params, 122 const ViewHostMsg_CreateWindow_Params& params,
123 SessionStorageNamespace* session_storage_namespace) override; 123 SessionStorageNamespace* session_storage_namespace) override;
124 void CreateNewWidget(int render_process_id, 124 void CreateNewWidget(int render_process_id,
125 int route_id, 125 int route_id,
126 blink::WebPopupType popup_type) override; 126 blink::WebPopupType popup_type) override;
127 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; 127 void CreateNewFullscreenWidget(int render_process_id, int route_id) override;
128 void ShowCreatedWindow(int route_id, 128 void ShowCreatedWindow(int route_id,
129 WindowOpenDisposition disposition, 129 WindowOpenDisposition disposition,
(...skipping 10 matching lines...) Expand all
140 // Expectations for arguments of |SetHistoryOffsetAndLength()|. 140 // Expectations for arguments of |SetHistoryOffsetAndLength()|.
141 bool expect_set_history_offset_and_length_; 141 bool expect_set_history_offset_and_length_;
142 int expect_set_history_offset_and_length_history_offset_; 142 int expect_set_history_offset_and_length_history_offset_;
143 int expect_set_history_offset_and_length_history_length_; 143 int expect_set_history_offset_and_length_history_length_;
144 std::string save_frame_headers_; 144 std::string save_frame_headers_;
145 }; 145 };
146 146
147 } // namespace content 147 } // namespace content
148 148
149 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_ 149 #endif // CONTENT_TEST_TEST_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/test/content_browser_test_utils_internal.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698