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