OLD | NEW |
---|---|
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 page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 #if defined(OS_MACOSX) | 53 #if defined(OS_MACOSX) |
54 #include "content/common/mac/font_descriptor.h" | 54 #include "content/common/mac/font_descriptor.h" |
55 #endif | 55 #endif |
56 | 56 |
57 #undef IPC_MESSAGE_EXPORT | 57 #undef IPC_MESSAGE_EXPORT |
58 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 58 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
59 | 59 |
60 #define IPC_MESSAGE_START ViewMsgStart | 60 #define IPC_MESSAGE_START ViewMsgStart |
61 | 61 |
62 IPC_ENUM_TRAITS(AccessibilityMode) | 62 IPC_ENUM_TRAITS(AccessibilityMode) |
63 IPC_ENUM_TRAITS(ChannelLayout) | 63 IPC_ENUM_TRAITS(media::ChannelLayout) |
jam
2012/10/17 15:06:35
nit: reorder
DaleCurtis
2012/10/17 18:51:21
Done.
| |
64 IPC_ENUM_TRAITS(CSSColors::CSSColorName) | 64 IPC_ENUM_TRAITS(CSSColors::CSSColorName) |
65 IPC_ENUM_TRAITS(NavigationGesture) | 65 IPC_ENUM_TRAITS(NavigationGesture) |
66 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) | 66 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) |
67 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) | 67 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) |
68 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) | 68 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) |
69 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type) | 69 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type) |
70 IPC_ENUM_TRAITS(WebKit::WebPopupType) | 70 IPC_ENUM_TRAITS(WebKit::WebPopupType) |
71 IPC_ENUM_TRAITS(WebKit::WebTextDirection) | 71 IPC_ENUM_TRAITS(WebKit::WebTextDirection) |
72 IPC_ENUM_TRAITS(WebMenuItem::Type) | 72 IPC_ENUM_TRAITS(WebMenuItem::Type) |
73 IPC_ENUM_TRAITS(WindowContainerType) | 73 IPC_ENUM_TRAITS(WindowContainerType) |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
831 // Asks the browser for the default audio input hardware sample-rate. | 831 // Asks the browser for the default audio input hardware sample-rate. |
832 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, | 832 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, |
833 int /* sample_rate */) | 833 int /* sample_rate */) |
834 | 834 |
835 // Asks the browser for the default audio hardware sample-rate. | 835 // Asks the browser for the default audio hardware sample-rate. |
836 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, | 836 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, |
837 int /* sample_rate */) | 837 int /* sample_rate */) |
838 | 838 |
839 // Asks the browser for the default channel layout. | 839 // Asks the browser for the default channel layout. |
840 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, | 840 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, |
841 ChannelLayout /* channel layout */) | 841 media::ChannelLayout /* channel layout */) |
842 | 842 |
843 // Asks the browser for CPU usage of the renderer process in percents. | 843 // Asks the browser for CPU usage of the renderer process in percents. |
844 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 844 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
845 int /* CPU usage in percents */) | 845 int /* CPU usage in percents */) |
846 | 846 |
847 // Asks the browser for the user's monitor profile. | 847 // Asks the browser for the user's monitor profile. |
848 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, | 848 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, |
849 std::vector<char> /* profile */) | 849 std::vector<char> /* profile */) |
850 | 850 |
851 // Tells the renderer to create a new view. | 851 // Tells the renderer to create a new view. |
(...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2388 // marker, in similarly normalized coords (or an empty rect if there isn't one). | 2388 // marker, in similarly normalized coords (or an empty rect if there isn't one). |
2389 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, | 2389 IPC_MESSAGE_ROUTED3(ViewHostMsg_FindMatchRects_Reply, |
2390 int /* version */, | 2390 int /* version */, |
2391 std::vector<gfx::RectF> /* rects */, | 2391 std::vector<gfx::RectF> /* rects */, |
2392 gfx::RectF /* active_rect */) | 2392 gfx::RectF /* active_rect */) |
2393 | 2393 |
2394 // Start an android intent with the given URI. | 2394 // Start an android intent with the given URI. |
2395 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 2395 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
2396 GURL /* content_url */) | 2396 GURL /* content_url */) |
2397 #endif | 2397 #endif |
OLD | NEW |