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

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

Issue 1225413002: [Extensions] Fix improper extension tab ownership bug (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 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSystemFont, 420 IPC_MESSAGE_CONTROL2(ExtensionMsg_SetSystemFont,
421 std::string /* font_family */, 421 std::string /* font_family */,
422 std::string /* font_size */) 422 std::string /* font_size */)
423 423
424 // Marks an extension as 'active' in an extension process. 'Active' extensions 424 // Marks an extension as 'active' in an extension process. 'Active' extensions
425 // have more privileges than other extension content that might end up running 425 // have more privileges than other extension content that might end up running
426 // in the process (e.g. because of iframes or content scripts). 426 // in the process (e.g. because of iframes or content scripts).
427 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension, 427 IPC_MESSAGE_CONTROL1(ExtensionMsg_ActivateExtension,
428 std::string /* extension_id */) 428 std::string /* extension_id */)
429 429
430 // Notifies the renderer that the current tab is an extension page (we limit
431 // what other extensions can do on these pages).
432 IPC_MESSAGE_ROUTED1(ExtensionMsg_SetMainFrameExtensionOwner,
433 std::string /* extension_id */)
434
435 // Notifies the renderer that extensions were loaded in the browser. 430 // Notifies the renderer that extensions were loaded in the browser.
436 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded, 431 IPC_MESSAGE_CONTROL1(ExtensionMsg_Loaded,
437 std::vector<ExtensionMsg_Loaded_Params>) 432 std::vector<ExtensionMsg_Loaded_Params>)
438 433
439 // Notifies the renderer that an extension was unloaded in the browser. 434 // Notifies the renderer that an extension was unloaded in the browser.
440 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded, 435 IPC_MESSAGE_CONTROL1(ExtensionMsg_Unloaded,
441 std::string) 436 std::string)
442 437
443 // Updates the scripting whitelist for extensions in the render process. This is 438 // Updates the scripting whitelist for extensions in the render process. This is
444 // only used for testing. 439 // only used for testing.
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 int /* acc_obj_id */, 783 int /* acc_obj_id */,
789 base::string16 /* selector */) 784 base::string16 /* selector */)
790 785
791 // Result of a query selector request. 786 // Result of a query selector request.
792 // result_acc_obj_id is the accessibility tree ID of the result element; 0 787 // result_acc_obj_id is the accessibility tree ID of the result element; 0
793 // indicates no result. 788 // indicates no result.
794 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, 789 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result,
795 int /* request_id */, 790 int /* request_id */,
796 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, 791 ExtensionHostMsg_AutomationQuerySelector_Error /* error */,
797 int /* result_acc_obj_id */) 792 int /* result_acc_obj_id */)
OLDNEW
« no previous file with comments | « extensions/browser/extension_web_contents_observer.cc ('k') | extensions/renderer/extension_frame_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698