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

Side by Side Diff: content/common/view_messages.h

Issue 11198018: Move ChannelLayout into media namespace. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixes. Created 8 years, 2 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 | « content/common/media/audio_param_traits.cc ('k') | content/renderer/media/audio_hardware.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 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
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)
64 IPC_ENUM_TRAITS(CSSColors::CSSColorName) 63 IPC_ENUM_TRAITS(CSSColors::CSSColorName)
65 IPC_ENUM_TRAITS(NavigationGesture) 64 IPC_ENUM_TRAITS(NavigationGesture)
66 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) 65 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value)
67 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) 66 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType)
68 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) 67 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type)
69 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type) 68 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type)
70 IPC_ENUM_TRAITS(WebKit::WebPopupType) 69 IPC_ENUM_TRAITS(WebKit::WebPopupType)
71 IPC_ENUM_TRAITS(WebKit::WebTextDirection) 70 IPC_ENUM_TRAITS(WebKit::WebTextDirection)
72 IPC_ENUM_TRAITS(WebMenuItem::Type) 71 IPC_ENUM_TRAITS(WebMenuItem::Type)
73 IPC_ENUM_TRAITS(WindowContainerType) 72 IPC_ENUM_TRAITS(WindowContainerType)
74 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) 73 IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
75 IPC_ENUM_TRAITS(content::JavaScriptMessageType) 74 IPC_ENUM_TRAITS(content::JavaScriptMessageType)
76 IPC_ENUM_TRAITS(content::PageZoom) 75 IPC_ENUM_TRAITS(content::PageZoom)
77 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) 76 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum)
78 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) 77 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum)
79 IPC_ENUM_TRAITS(content::StopFindAction) 78 IPC_ENUM_TRAITS(content::StopFindAction)
79 IPC_ENUM_TRAITS(media::ChannelLayout)
80 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) 80 IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
81 IPC_ENUM_TRAITS(ui::TextInputType) 81 IPC_ENUM_TRAITS(ui::TextInputType)
82 82
83 IPC_STRUCT_TRAITS_BEGIN(EditCommand) 83 IPC_STRUCT_TRAITS_BEGIN(EditCommand)
84 IPC_STRUCT_TRAITS_MEMBER(name) 84 IPC_STRUCT_TRAITS_MEMBER(name)
85 IPC_STRUCT_TRAITS_MEMBER(value) 85 IPC_STRUCT_TRAITS_MEMBER(value)
86 IPC_STRUCT_TRAITS_END() 86 IPC_STRUCT_TRAITS_END()
87 87
88 #if defined(OS_MACOSX) 88 #if defined(OS_MACOSX)
89 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) 89 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor)
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/common/media/audio_param_traits.cc ('k') | content/renderer/media/audio_hardware.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698