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 "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 // The resulting page history is [-1 -1 -1 7 8]. | 713 // The resulting page history is [-1 -1 -1 7 8]. |
714 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune, | 714 IPC_MESSAGE_ROUTED2(ViewMsg_SetHistoryLengthAndPrune, |
715 int, /* merge_history_length */ | 715 int, /* merge_history_length */ |
716 int32 /* minimum_page_id */) | 716 int32 /* minimum_page_id */) |
717 | 717 |
718 // Asks the browser for a unique routing ID. | 718 // Asks the browser for a unique routing ID. |
719 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, | 719 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, |
720 int /* routing_id */) | 720 int /* routing_id */) |
721 | 721 |
722 // Asks the browser for the default audio hardware buffer-size. | 722 // Asks the browser for the default audio hardware buffer-size. |
723 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareBufferSize, | 723 IPC_SYNC_MESSAGE_CONTROL0_4(ViewHostMsg_GetAudioHardwareConfig, |
724 uint32 /* buffer_size */) | 724 int /* output_buffer_size */, |
725 | 725 int /* output_sample_rate */, |
726 // Asks the browser for the default audio input hardware sample-rate. | 726 int /* input_sample_rate */, |
727 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, | 727 media::ChannelLayout /* input_channel_layout */) |
728 int /* sample_rate */) | |
729 | |
730 // Asks the browser for the default audio hardware sample-rate. | |
731 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareSampleRate, | |
732 int /* sample_rate */) | |
733 | |
734 // Asks the browser for the default channel layout. | |
735 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputChannelLayout, | |
736 media::ChannelLayout /* channel layout */) | |
737 | 728 |
738 // Asks the browser for CPU usage of the renderer process in percents. | 729 // Asks the browser for CPU usage of the renderer process in percents. |
739 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 730 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
740 int /* CPU usage in percents */) | 731 int /* CPU usage in percents */) |
741 | 732 |
742 // Asks the browser for the user's monitor profile. | 733 // Asks the browser for the user's monitor profile. |
743 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, | 734 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, |
744 std::vector<char> /* profile */) | 735 std::vector<char> /* profile */) |
745 | 736 |
746 // Tells the renderer to create a new view. | 737 // Tells the renderer to create a new view. |
(...skipping 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2378 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2369 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
2379 // for details. | 2370 // for details. |
2380 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2371 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
2381 LOGFONT /* font_data */, | 2372 LOGFONT /* font_data */, |
2382 string16 /* characters */) | 2373 string16 /* characters */) |
2383 #endif | 2374 #endif |
2384 | 2375 |
2385 // Notifies the browser that the frame with the given id was detached. | 2376 // Notifies the browser that the frame with the given id was detached. |
2386 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, | 2377 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, |
2387 int64 /* frame_id */) | 2378 int64 /* frame_id */) |
OLD | NEW |