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

Side by Side Diff: extensions/common/extension_messages.h

Issue 1150683007: [Extensions] Use document url (not top url) for tab-specific permissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSystemFont, 417 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSystemFont,
418 std::string /* font_family */, 418 std::string /* font_family */,
419 std::string /* font_size */) 419 std::string /* font_size */)
420 420
421 // Marks an extension as 'active' in an extension process. 'Active' extensions 421 // Marks an extension as 'active' in an extension process. 'Active' extensions
422 // have more privileges than other extension content that might end up running 422 // have more privileges than other extension content that might end up running
423 // in the process (e.g. because of iframes or content scripts). 423 // in the process (e.g. because of iframes or content scripts).
424 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, 424 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension,
425 std::string /* extension_id */) 425 std::string /* extension_id */)
426 426
427 // Notifies the renderer that the current tab is an extension page (we limit
428 // what other extensions can do on these pages).
429 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetTabExtensionOwner,
430 std::string /* extension_id */);
431
427 // Notifies the renderer that extensions were loaded in the browser. 432 // Notifies the renderer that extensions were loaded in the browser.
428 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded, 433 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded,
429 std::vector<ExtensionMsg_Loaded_Params>) 434 std::vector<ExtensionMsg_Loaded_Params>)
430 435
431 // Notifies the renderer that an extension was unloaded in the browser. 436 // Notifies the renderer that an extension was unloaded in the browser.
432 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, 437 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded,
433 std::string) 438 std::string)
434 439
435 // Updates the scripting whitelist for extensions in the render process. This is 440 // Updates the scripting whitelist for extensions in the render process. This is
436 // only used for testing. 441 // only used for testing.
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
786 int /* acc_obj_id */, 791 int /* acc_obj_id */,
787 base::string16 /* selector */) 792 base::string16 /* selector */)
788 793
789 // Result of a query selector request. 794 // Result of a query selector request.
790 // result_acc_obj_id is the accessibility tree ID of the result element; 0 795 // result_acc_obj_id is the accessibility tree ID of the result element; 0
791 // indicates no result. 796 // indicates no result.
792 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, 797 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result,
793 int /* request_id */, 798 int /* request_id */,
794 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, 799 ExtensionHostMsg_AutomationQuerySelector_Error /* error */,
795 int /* result_acc_obj_id */) 800 int /* result_acc_obj_id */)
OLDNEW
« no previous file with comments | « extensions/browser/extension_web_contents_observer.cc ('k') | extensions/common/permissions/permissions_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698