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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 3210007: Add support for a "split" incognito behavior for extensions. (Closed)
Patch Set: latest Created 10 years, 3 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 std::string /* extension_id */, 739 std::string /* extension_id */,
740 std::vector<std::string> /* permissions */) 740 std::vector<std::string> /* permissions */)
741 741
742 // Tell the renderer process which host permissions the given extension has. 742 // Tell the renderer process which host permissions the given extension has.
743 IPC_MESSAGE_CONTROL2( 743 IPC_MESSAGE_CONTROL2(
744 ViewMsg_Extension_SetHostPermissions, 744 ViewMsg_Extension_SetHostPermissions,
745 GURL /* source extension's origin */, 745 GURL /* source extension's origin */,
746 std::vector<URLPattern> /* URLPatterns the extension can access */) 746 std::vector<URLPattern> /* URLPatterns the extension can access */)
747 747
748 // Tell the renderer process that the given extension is enabled or disabled 748 // Tell the renderer process that the given extension is enabled or disabled
749 // for incognito mode. 749 // for incognito mode, and what kind of incognito behavior it has.
750 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_ExtensionSetIncognitoEnabled, 750 IPC_MESSAGE_CONTROL3(ViewMsg_Extension_ExtensionSetIncognitoEnabled,
751 std::string /* extension_id */, 751 std::string /* extension_id */,
752 bool /* enabled */) 752 bool /* enabled */,
753 bool /* incognito_split_mode */)
753 754
754 // Tell the renderer process all known page action ids for a particular 755 // Tell the renderer process all known page action ids for a particular
755 // extension. 756 // extension.
756 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions, 757 IPC_MESSAGE_CONTROL2(ViewMsg_Extension_UpdatePageActions,
757 std::string /* extension_id */, 758 std::string /* extension_id */,
758 std::vector<std::string> /* page_action_ids */) 759 std::vector<std::string> /* page_action_ids */)
759 760
760 // Changes the text direction of the currently selected input field (if any). 761 // Changes the text direction of the currently selected input field (if any).
761 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, 762 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
762 WebKit::WebTextDirection /* direction */) 763 WebKit::WebTextDirection /* direction */)
(...skipping 1963 matching lines...) Expand 10 before | Expand all | Expand 10 after
2726 // Registers a blob URL referring to the blob data identified by the specified 2727 // Registers a blob URL referring to the blob data identified by the specified
2727 // source URL. 2728 // source URL.
2728 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrlFrom, 2729 IPC_MESSAGE_CONTROL2(ViewHostMsg_RegisterBlobUrlFrom,
2729 GURL /* url */, 2730 GURL /* url */,
2730 GURL /* src_url */) 2731 GURL /* src_url */)
2731 2732
2732 // Unregister a blob URL. 2733 // Unregister a blob URL.
2733 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */) 2734 IPC_MESSAGE_CONTROL1(ViewHostMsg_UnregisterBlobUrl, GURL /* url */)
2734 2735
2735 IPC_END_MESSAGES(ViewHost) 2736 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/common/extensions/extension_constants.cc ('k') | chrome/renderer/extensions/event_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698