| 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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 // all pages in the new tab with page_id >= 7 are to be preserved. | 712 // all pages in the new tab with page_id >= 7 are to be preserved. |
| 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 IPC_SYNC_MESSAGE_CONTROL0_4(ViewHostMsg_GetAudioHardwareConfig, |
| 723 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareBufferSize, | 723 int /* output_buffer_size */, |
| 724 uint32 /* buffer_size */) | 724 int /* output_sample_rate */, |
| 725 | 725 int /* input_sample_rate */, |
| 726 // Asks the browser for the default audio input hardware sample-rate. | |
| 727 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetHardwareInputSampleRate, | |
| 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 */) | 726 media::ChannelLayout /* channel layout */) |
| 737 | 727 |
| 738 // Asks the browser for CPU usage of the renderer process in percents. | 728 // Asks the browser for CPU usage of the renderer process in percents. |
| 739 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 729 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
| 740 int /* CPU usage in percents */) | 730 int /* CPU usage in percents */) |
| 741 | 731 |
| 742 // Asks the browser for the user's monitor profile. | 732 // Asks the browser for the user's monitor profile. |
| 743 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, | 733 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, |
| 744 std::vector<char> /* profile */) | 734 std::vector<char> /* profile */) |
| 745 | 735 |
| (...skipping 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2378 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2368 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2379 // for details. | 2369 // for details. |
| 2380 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2370 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2381 LOGFONT /* font_data */, | 2371 LOGFONT /* font_data */, |
| 2382 string16 /* characters */) | 2372 string16 /* characters */) |
| 2383 #endif | 2373 #endif |
| 2384 | 2374 |
| 2385 // Notifies the browser that the frame with the given id was detached. | 2375 // Notifies the browser that the frame with the given id was detached. |
| 2386 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, | 2376 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameDetached, |
| 2387 int64 /* frame_id */) | 2377 int64 /* frame_id */) |
| OLD | NEW |