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

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

Issue 12662038: Revert 187936 "Pass more detailed audio hardware configuration i..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1440/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"
35 #include "media/base/channel_layout.h" 34 #include "media/base/channel_layout.h"
36 #include "media/base/media_log_event.h" 35 #include "media/base/media_log_event.h"
37 #include "third_party/skia/include/core/SkBitmap.h" 36 #include "third_party/skia/include/core/SkBitmap.h"
38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 37 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
39 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h"
(...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1411 // window. 1410 // window.
1412 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget, 1411 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget,
1413 int /* opener_id */, 1412 int /* opener_id */,
1414 int /* route_id */, 1413 int /* route_id */,
1415 int32 /* surface_id */) 1414 int32 /* surface_id */)
1416 1415
1417 // Asks the browser for a unique routing ID. 1416 // Asks the browser for a unique routing ID.
1418 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, 1417 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID,
1419 int /* routing_id */) 1418 int /* routing_id */)
1420 1419
1421 // Asks the browser for the default audio hardware configuration. 1420 // Asks the browser for the default audio hardware buffer-size.
1422 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetAudioHardwareConfig, 1421 IPC_SYNC_MESSAGE_CONTROL0_4(ViewHostMsg_GetAudioHardwareConfig,
1423 media::AudioParameters /* input parameters */, 1422 int /* output_buffer_size */,
1424 media::AudioParameters /* output parameters */) 1423 int /* output_sample_rate */,
1424 int /* input_sample_rate */,
1425 media::ChannelLayout /* input_channel_layout */)
1425 1426
1426 // Asks the browser for CPU usage of the renderer process in percents. 1427 // Asks the browser for CPU usage of the renderer process in percents.
1427 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, 1428 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage,
1428 int /* CPU usage in percents */) 1429 int /* CPU usage in percents */)
1429 1430
1430 // Asks the browser for the user's monitor profile. 1431 // Asks the browser for the user's monitor profile.
1431 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, 1432 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile,
1432 std::vector<char> /* profile */) 1433 std::vector<char> /* profile */)
1433 1434
1434 // Asks the browser for the renderer process memory size stats. 1435 // Asks the browser for the renderer process memory size stats.
(...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
2418 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2419 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2419 // for details. 2420 // for details.
2420 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2421 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2421 LOGFONT /* font_data */, 2422 LOGFONT /* font_data */,
2422 string16 /* characters */) 2423 string16 /* characters */)
2423 #endif 2424 #endif
2424 2425
2425 // Adding a new message? Stick to the sort order above: first platform 2426 // Adding a new message? Stick to the sort order above: first platform
2426 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2427 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2427 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2428 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/media/media_param_traits.cc ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698