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

Side by Side Diff: content/browser/web_contents/web_contents_impl.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: 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
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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 void RunFileChooser(RenderViewHost* render_view_host, 469 void RunFileChooser(RenderViewHost* render_view_host,
470 const FileChooserParams& params) override; 470 const FileChooserParams& params) override;
471 bool IsFullscreenForCurrentTab() const override; 471 bool IsFullscreenForCurrentTab() const override;
472 blink::WebDisplayMode GetDisplayMode() const override; 472 blink::WebDisplayMode GetDisplayMode() const override;
473 void UpdatePreferredSize(const gfx::Size& pref_size) override; 473 void UpdatePreferredSize(const gfx::Size& pref_size) override;
474 void ResizeDueToAutoResize(const gfx::Size& new_size) override; 474 void ResizeDueToAutoResize(const gfx::Size& new_size) override;
475 void RequestToLockMouse(bool user_gesture, 475 void RequestToLockMouse(bool user_gesture,
476 bool last_unlocked_by_target) override; 476 bool last_unlocked_by_target) override;
477 void LostMouseLock() override; 477 void LostMouseLock() override;
478 void CreateNewWindow( 478 void CreateNewWindow(
479 int render_process_id, 479 SiteInstance* source_site_instance,
480 int route_id, 480 int route_id,
481 int main_frame_route_id, 481 int main_frame_route_id,
482 const ViewHostMsg_CreateWindow_Params& params, 482 const ViewHostMsg_CreateWindow_Params& params,
483 SessionStorageNamespace* session_storage_namespace) override; 483 SessionStorageNamespace* session_storage_namespace) override;
484 void CreateNewWidget(int render_process_id, 484 void CreateNewWidget(int render_process_id,
485 int route_id, 485 int route_id,
486 blink::WebPopupType popup_type) override; 486 blink::WebPopupType popup_type) override;
487 void CreateNewFullscreenWidget(int render_process_id, int route_id) override; 487 void CreateNewFullscreenWidget(int render_process_id, int route_id) override;
488 void ShowCreatedWindow(int route_id, 488 void ShowCreatedWindow(int route_id,
489 WindowOpenDisposition disposition, 489 WindowOpenDisposition disposition,
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1286 // Adds/removes a callback called on creation of each new WebContents. 1286 // Adds/removes a callback called on creation of each new WebContents.
1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1287 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1288 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1289 1289
1290 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1290 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1291 }; 1291 };
1292 1292
1293 } // namespace content 1293 } // namespace content
1294 1294
1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1295 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698