| 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 13 matching lines...) Expand all Loading... |
| 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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1410 // window. | 1411 // window. |
| 1411 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget, | 1412 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget, |
| 1412 int /* opener_id */, | 1413 int /* opener_id */, |
| 1413 int /* route_id */, | 1414 int /* route_id */, |
| 1414 int32 /* surface_id */) | 1415 int32 /* surface_id */) |
| 1415 | 1416 |
| 1416 // Asks the browser for a unique routing ID. | 1417 // Asks the browser for a unique routing ID. |
| 1417 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, | 1418 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GenerateRoutingID, |
| 1418 int /* routing_id */) | 1419 int /* routing_id */) |
| 1419 | 1420 |
| 1420 // Asks the browser for the default audio hardware buffer-size. | 1421 // Asks the browser for the default audio hardware configuration. |
| 1421 IPC_SYNC_MESSAGE_CONTROL0_4(ViewHostMsg_GetAudioHardwareConfig, | 1422 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetAudioHardwareConfig, |
| 1422 int /* output_buffer_size */, | 1423 media::AudioParameters /* input parameters */, |
| 1423 int /* output_sample_rate */, | 1424 media::AudioParameters /* output parameters */) |
| 1424 int /* input_sample_rate */, | |
| 1425 media::ChannelLayout /* input_channel_layout */) | |
| 1426 | 1425 |
| 1427 // Asks the browser for CPU usage of the renderer process in percents. | 1426 // Asks the browser for CPU usage of the renderer process in percents. |
| 1428 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, | 1427 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetCPUUsage, |
| 1429 int /* CPU usage in percents */) | 1428 int /* CPU usage in percents */) |
| 1430 | 1429 |
| 1431 // Asks the browser for the user's monitor profile. | 1430 // Asks the browser for the user's monitor profile. |
| 1432 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, | 1431 IPC_SYNC_MESSAGE_CONTROL0_1(ViewHostMsg_GetMonitorColorProfile, |
| 1433 std::vector<char> /* profile */) | 1432 std::vector<char> /* profile */) |
| 1434 | 1433 |
| 1435 // Asks the browser for the renderer process memory size stats. | 1434 // Asks the browser for the renderer process memory size stats. |
| (...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2419 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 2418 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
| 2420 // for details. | 2419 // for details. |
| 2421 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 2420 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
| 2422 LOGFONT /* font_data */, | 2421 LOGFONT /* font_data */, |
| 2423 string16 /* characters */) | 2422 string16 /* characters */) |
| 2424 #endif | 2423 #endif |
| 2425 | 2424 |
| 2426 // Adding a new message? Stick to the sort order above: first platform | 2425 // Adding a new message? Stick to the sort order above: first platform |
| 2427 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2426 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2428 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2427 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |