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

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

Issue 9456037: Adding run_at to chrome.tabs.executeScript/insertCss. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/user_script.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/common/extensions/extension.h" 10 #include "chrome/common/extensions/extension.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // Whether the code is JavaScript or CSS. 61 // Whether the code is JavaScript or CSS.
62 IPC_STRUCT_MEMBER(bool, is_javascript) 62 IPC_STRUCT_MEMBER(bool, is_javascript)
63 63
64 // String of code to execute. 64 // String of code to execute.
65 IPC_STRUCT_MEMBER(std::string, code) 65 IPC_STRUCT_MEMBER(std::string, code)
66 66
67 // Whether to inject into all frames, or only the root frame. 67 // Whether to inject into all frames, or only the root frame.
68 IPC_STRUCT_MEMBER(bool, all_frames) 68 IPC_STRUCT_MEMBER(bool, all_frames)
69 69
70 // When to inject the code.
71 IPC_STRUCT_MEMBER(int, run_at)
72
70 // Whether to execute code in the main world (as opposed to an isolated 73 // Whether to execute code in the main world (as opposed to an isolated
71 // world). 74 // world).
72 IPC_STRUCT_MEMBER(bool, in_main_world) 75 IPC_STRUCT_MEMBER(bool, in_main_world)
73 IPC_STRUCT_END() 76 IPC_STRUCT_END()
74 77
75 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo) 78 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo)
76 IPC_STRUCT_TRAITS_MEMBER(url) 79 IPC_STRUCT_TRAITS_MEMBER(url)
77 IPC_STRUCT_TRAITS_MEMBER(width) 80 IPC_STRUCT_TRAITS_MEMBER(width)
78 IPC_STRUCT_TRAITS_MEMBER(height) 81 IPC_STRUCT_TRAITS_MEMBER(height)
79 IPC_STRUCT_TRAITS_MEMBER(data) 82 IPC_STRUCT_TRAITS_MEMBER(data)
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 417
415 // Informs the browser there is one less thing keeping the lazy background page 418 // Informs the browser there is one less thing keeping the lazy background page
416 // alive. 419 // alive.
417 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_DecrementLazyKeepaliveCount, 420 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_DecrementLazyKeepaliveCount,
418 std::string /* extension_id */) 421 std::string /* extension_id */)
419 422
420 // Fetches a globally unique ID (for the lifetime of the browser) from the 423 // Fetches a globally unique ID (for the lifetime of the browser) from the
421 // browser process. 424 // browser process.
422 IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID, 425 IPC_SYNC_MESSAGE_CONTROL0_1(ExtensionHostMsg_GenerateUniqueID,
423 int /* unique_id */) 426 int /* unique_id */)
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/tabs.html ('k') | chrome/common/extensions/user_script.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698