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

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

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // Chrome-specific IPC messages for extensions.
6 // Extension-related messages that aren't specific to Chrome live in
7 // extensions/common/extension_messages.h.
8 //
9 // Multiply-included message file, hence no include guard.
10
11 #include "chrome/common/web_application_info.h"
12 #include "ipc/ipc_message_macros.h"
13
14 #define IPC_MESSAGE_START ChromeExtensionMsgStart
15
16 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo)
17 IPC_STRUCT_TRAITS_MEMBER(url)
18 IPC_STRUCT_TRAITS_MEMBER(width)
19 IPC_STRUCT_TRAITS_MEMBER(height)
20 IPC_STRUCT_TRAITS_MEMBER(data)
21 IPC_STRUCT_TRAITS_END()
22
23 IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo)
24 IPC_STRUCT_TRAITS_MEMBER(title)
25 IPC_STRUCT_TRAITS_MEMBER(description)
26 IPC_STRUCT_TRAITS_MEMBER(app_url)
27 IPC_STRUCT_TRAITS_MEMBER(icons)
28 IPC_STRUCT_TRAITS_END()
29
30 // Messages sent from the browser to the renderer.
31
32 // Requests application info for the page. The renderer responds back with
33 // ExtensionHostMsg_DidGetApplicationInfo.
34 IPC_MESSAGE_ROUTED1(ChromeExtensionMsg_GetApplicationInfo,
35 int32 /* page_id */)
36
37 // Messages sent from the renderer to the browser.
38
39 IPC_MESSAGE_ROUTED2(ChromeExtensionHostMsg_DidGetApplicationInfo,
40 int32 /* page_id */,
41 WebApplicationInfo)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698