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

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

Issue 12387006: Pass more detailed audio hardware configuration information to the renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
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 "base/string16.h" 10 #include "base/string16.h"
(...skipping 13 matching lines...) Expand all
24 #include "content/public/common/javascript_message_type.h" 24 #include "content/public/common/javascript_message_type.h"
25 #include "content/public/common/page_zoom.h" 25 #include "content/public/common/page_zoom.h"
26 #include "content/public/common/referrer.h" 26 #include "content/public/common/referrer.h"
27 #include "content/public/common/renderer_preferences.h" 27 #include "content/public/common/renderer_preferences.h"
28 #include "content/public/common/stop_find_action.h" 28 #include "content/public/common/stop_find_action.h"
29 #include "content/public/common/three_d_api_types.h" 29 #include "content/public/common/three_d_api_types.h"
30 #include "content/public/common/window_container_type.h" 30 #include "content/public/common/window_container_type.h"
31 #include "ipc/ipc_channel_handle.h" 31 #include "ipc/ipc_channel_handle.h"
32 #include "ipc/ipc_message_macros.h" 32 #include "ipc/ipc_message_macros.h"
33 #include "ipc/ipc_platform_file.h" 33 #include "ipc/ipc_platform_file.h"
34 #include "media/audio/audio_parameters.h"
34 #include "media/base/channel_layout.h" 35 #include "media/base/channel_layout.h"
35 #include "media/base/media_log_event.h" 36 #include "media/base/media_log_event.h"
36 #include "third_party/skia/include/core/SkBitmap.h" 37 #include "third_party/skia/include/core/SkBitmap.h"
37 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 39 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h"
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 // window. 1415 // window.
1415 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget, 1416 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget,
1416 int /* opener_id */, 1417 int /* opener_id */,
1417 int /* route_id */, 1418 int /* route_id */,
1418 int32 /* surface_id */) 1419 int32 /* surface_id */)
1419 1420
1420 // Asks the browser for a unique routing ID. 1421 // Asks the browser for a unique routing ID.
1421 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, 1422 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID,
1422 int /* routing_id */) 1423 int /* routing_id */)
1423 1424
1424 // Asks the browser for the default audio hardware buffer-size. 1425 // Asks the browser for the default audio hardware configuration.
1425 IPC_SYNC_MESSAGE_CONTROL0_4(ViewHostMsg_GetAudioHardwareConfig, 1426 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetAudioHardwareConfig,
1426 int /* output_buffer_size */, 1427 media::AudioParameters /* input parameters */,
1427 int /* output_sample_rate */, 1428 media::AudioParameters /* output parameters */)
1428 int /* input_sample_rate */,
1429 media::ChannelLayout /* input_channel_layout */)
1430 1429
1431 // Asks the browser for CPU usage of the renderer process in percents. 1430 // Asks the browser for CPU usage of the renderer process in percents.
1432 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, 1431 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage,
1433 int /* CPU usage in percents */) 1432 int /* CPU usage in percents */)
1434 1433
1435 // Asks the browser for the user's monitor profile. 1434 // Asks the browser for the user's monitor profile.
1436 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, 1435 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile,
1437 std::vector<char> /* profile */) 1436 std::vector<char> /* profile */)
1438 1437
1439 // Asks the browser for the renderer process memory size stats. 1438 // Asks the browser for the renderer process memory size stats.
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
2423 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2422 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2424 // for details. 2423 // for details.
2425 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2424 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2426 LOGFONT /* font_data */, 2425 LOGFONT /* font_data */,
2427 string16 /* characters */) 2426 string16 /* characters */)
2428 #endif 2427 #endif
2429 2428
2430 // Adding a new message? Stick to the sort order above: first platform 2429 // Adding a new message? Stick to the sort order above: first platform
2431 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2430 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2432 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2431 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698