OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/common/common_param_traits.h" | 10 #include "content/common/common_param_traits.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 IPC_ENUM_TRAITS(PageZoom::Function) | 157 IPC_ENUM_TRAITS(PageZoom::Function) |
158 IPC_ENUM_TRAITS(RendererPreferencesHintingEnum) | 158 IPC_ENUM_TRAITS(RendererPreferencesHintingEnum) |
159 IPC_ENUM_TRAITS(RendererPreferencesSubpixelRenderingEnum) | 159 IPC_ENUM_TRAITS(RendererPreferencesSubpixelRenderingEnum) |
160 IPC_ENUM_TRAITS(ViewHostMsg_AccessibilityNotification_Type::Value) | 160 IPC_ENUM_TRAITS(ViewHostMsg_AccessibilityNotification_Type::Value) |
161 IPC_ENUM_TRAITS(ViewHostMsg_RunFileChooser_Mode::Value) | 161 IPC_ENUM_TRAITS(ViewHostMsg_RunFileChooser_Mode::Value) |
162 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) | 162 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) |
163 IPC_ENUM_TRAITS(ViewMsg_StopFinding_Params::Action) | 163 IPC_ENUM_TRAITS(ViewMsg_StopFinding_Params::Action) |
164 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) | 164 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) |
165 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) | 165 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) |
166 IPC_ENUM_TRAITS(WebKit::WebPopupType) | 166 IPC_ENUM_TRAITS(WebKit::WebPopupType) |
| 167 IPC_ENUM_TRAITS(WebKit::WebTextDirection) |
167 IPC_ENUM_TRAITS(ui::TextInputType) | 168 IPC_ENUM_TRAITS(ui::TextInputType) |
168 IPC_ENUM_TRAITS(WebMenuItem::Type) | 169 IPC_ENUM_TRAITS(WebMenuItem::Type) |
169 IPC_ENUM_TRAITS(WindowContainerType) | 170 IPC_ENUM_TRAITS(WindowContainerType) |
170 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) | 171 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::IntAttribute) |
171 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) | 172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::Role) |
172 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) | 173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::State) |
173 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) | 174 IPC_ENUM_TRAITS(webkit_glue::WebAccessibility::StringAttribute) |
174 | 175 |
175 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) | 176 IPC_STRUCT_TRAITS_BEGIN(ContextMenuParams) |
176 IPC_STRUCT_TRAITS_MEMBER(media_type) | 177 IPC_STRUCT_TRAITS_MEMBER(media_type) |
(...skipping 1185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1362 // Notifies the browser that a document has been loaded in a frame. | 1363 // Notifies the browser that a document has been loaded in a frame. |
1363 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, | 1364 IPC_MESSAGE_ROUTED1(ViewHostMsg_DocumentLoadedInFrame, |
1364 int64 /* frame_id */) | 1365 int64 /* frame_id */) |
1365 | 1366 |
1366 // Notifies the browser that a frame finished loading. | 1367 // Notifies the browser that a frame finished loading. |
1367 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad, | 1368 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidFinishLoad, |
1368 int64 /* frame_id */) | 1369 int64 /* frame_id */) |
1369 | 1370 |
1370 // Changes the title for the page in the UI when the page is navigated or the | 1371 // Changes the title for the page in the UI when the page is navigated or the |
1371 // title changes. | 1372 // title changes. |
1372 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTitle, | 1373 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, |
1373 int32, | 1374 int32 /* page_id */, |
1374 string16) | 1375 string16 /* title */, |
| 1376 WebKit::WebTextDirection /* title direction */) |
1375 | 1377 |
1376 // Changes the icon url for the page in the UI. | 1378 // Changes the icon url for the page in the UI. |
1377 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, | 1379 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateIconURL, |
1378 int32, | 1380 int32, |
1379 GURL) | 1381 GURL) |
1380 | 1382 |
1381 // Change the encoding name of the page in UI when the page has detected | 1383 // Change the encoding name of the page in UI when the page has detected |
1382 // proper encoding name. | 1384 // proper encoding name. |
1383 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, | 1385 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, |
1384 std::string /* new encoding name */) | 1386 std::string /* new encoding name */) |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2017 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, | 2019 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendSerializedHtmlData, |
2018 GURL /* frame's url */, | 2020 GURL /* frame's url */, |
2019 std::string /* data buffer */, | 2021 std::string /* data buffer */, |
2020 int32 /* complete status */) | 2022 int32 /* complete status */) |
2021 | 2023 |
2022 // Request updated information about the client firewall traversal policy. | 2024 // Request updated information about the client firewall traversal policy. |
2023 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message | 2025 // Will result in a ViewMsg_UpdateRemoteAccessClientFirewallTraversal message |
2024 // being sent back. | 2026 // being sent back. |
2025 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) | 2027 IPC_MESSAGE_ROUTED0(ViewHostMsg_RequestRemoteAccessClientFirewallTraversal) |
2026 | 2028 |
OLD | NEW |