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

Side by Side Diff: content/common/view_messages.h

Issue 9325082: Create window in a new BrowsingInstance when opening a link in a new process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use correct navigation policy. Created 8 years, 10 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 | Annotate | Revision Log
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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 374
375 // The frame identifier of the frame initiating the open. 375 // The frame identifier of the frame initiating the open.
376 IPC_STRUCT_MEMBER(int64, opener_frame_id) 376 IPC_STRUCT_MEMBER(int64, opener_frame_id)
377 377
378 // The URL of the frame initiating the open. 378 // The URL of the frame initiating the open.
379 IPC_STRUCT_MEMBER(GURL, opener_url) 379 IPC_STRUCT_MEMBER(GURL, opener_url)
380 380
381 // The security origin of the frame initiating the open. 381 // The security origin of the frame initiating the open.
382 IPC_STRUCT_MEMBER(std::string, opener_security_origin) 382 IPC_STRUCT_MEMBER(std::string, opener_security_origin)
383 383
384 // Whether the opener will be suppressed in the new window, in which case
385 // scripting the new window is not allowed.
386 IPC_STRUCT_MEMBER(bool, opener_suppressed)
387
388 // Whether the window should be opened in the foreground, background, etc.
389 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
390
384 // The URL that will be loaded in the new window (empty if none has been 391 // The URL that will be loaded in the new window (empty if none has been
385 // sepcified). 392 // sepcified).
386 IPC_STRUCT_MEMBER(GURL, target_url) 393 IPC_STRUCT_MEMBER(GURL, target_url)
387 IPC_STRUCT_END() 394 IPC_STRUCT_END()
388 395
389 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) 396 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
390 // URL for the worker script. 397 // URL for the worker script.
391 IPC_STRUCT_MEMBER(GURL, url) 398 IPC_STRUCT_MEMBER(GURL, url)
392 399
393 // Name for a SharedWorker, otherwise empty string. 400 // Name for a SharedWorker, otherwise empty string.
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after
2004 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) 2011 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
2005 2012
2006 // Following message is used to communicate the values received by the 2013 // Following message is used to communicate the values received by the
2007 // callback binding the JS to Cpp. 2014 // callback binding the JS to Cpp.
2008 // An instance of browser that has an automation host listening to it can 2015 // An instance of browser that has an automation host listening to it can
2009 // have a javascript send a native value (string, number, boolean) to the 2016 // have a javascript send a native value (string, number, boolean) to the
2010 // listener in Cpp. (DomAutomationController) 2017 // listener in Cpp. (DomAutomationController)
2011 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, 2018 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse,
2012 std::string /* json_string */, 2019 std::string /* json_string */,
2013 int /* automation_id */) 2020 int /* automation_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698