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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
6 #include <map> | 6 #include <map> |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 #define IPC_MESSAGE_START ChromeMsgStart | 121 #define IPC_MESSAGE_START ChromeMsgStart |
122 | 122 |
123 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) | 123 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) |
124 IPC_ENUM_TRAITS(OmniboxFocusChangeReason) | 124 IPC_ENUM_TRAITS(OmniboxFocusChangeReason) |
125 IPC_ENUM_TRAITS(OmniboxFocusState) | 125 IPC_ENUM_TRAITS(OmniboxFocusState) |
126 IPC_ENUM_TRAITS(search_provider::OSDDType) | 126 IPC_ENUM_TRAITS(search_provider::OSDDType) |
127 IPC_ENUM_TRAITS(search_provider::InstallState) | 127 IPC_ENUM_TRAITS(search_provider::InstallState) |
128 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) | 128 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) |
129 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) | 129 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) |
130 IPC_ENUM_TRAITS(TranslateErrors::Type) | 130 IPC_ENUM_TRAITS(TranslateErrors::Type) |
131 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) | 131 IPC_ENUM_TRAITS(blink::WebConsoleMessage::Level) |
132 IPC_ENUM_TRAITS(content::TopControlsState) | 132 IPC_ENUM_TRAITS(content::TopControlsState) |
133 | 133 |
134 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) | 134 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) |
135 IPC_STRUCT_TRAITS_MEMBER(value) | 135 IPC_STRUCT_TRAITS_MEMBER(value) |
136 IPC_STRUCT_TRAITS_END() | 136 IPC_STRUCT_TRAITS_END() |
137 | 137 |
138 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. | 138 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
139 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) | 139 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
140 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) | 140 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) |
141 IPC_STRUCT_MEMBER(content::WebPluginInfo, plugin) | 141 IPC_STRUCT_MEMBER(content::WebPluginInfo, plugin) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 IPC_STRUCT_TRAITS_MEMBER(section_border_color) | 195 IPC_STRUCT_TRAITS_MEMBER(section_border_color) |
196 IPC_STRUCT_TRAITS_MEMBER(theme_id) | 196 IPC_STRUCT_TRAITS_MEMBER(theme_id) |
197 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) | 197 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) |
198 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) | 198 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) |
199 IPC_STRUCT_TRAITS_MEMBER(image_tiling) | 199 IPC_STRUCT_TRAITS_MEMBER(image_tiling) |
200 IPC_STRUCT_TRAITS_MEMBER(image_height) | 200 IPC_STRUCT_TRAITS_MEMBER(image_height) |
201 IPC_STRUCT_TRAITS_MEMBER(has_attribution) | 201 IPC_STRUCT_TRAITS_MEMBER(has_attribution) |
202 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) | 202 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) |
203 IPC_STRUCT_TRAITS_END() | 203 IPC_STRUCT_TRAITS_END() |
204 | 204 |
205 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStat) | 205 IPC_STRUCT_TRAITS_BEGIN(blink::WebCache::ResourceTypeStat) |
206 IPC_STRUCT_TRAITS_MEMBER(count) | 206 IPC_STRUCT_TRAITS_MEMBER(count) |
207 IPC_STRUCT_TRAITS_MEMBER(size) | 207 IPC_STRUCT_TRAITS_MEMBER(size) |
208 IPC_STRUCT_TRAITS_MEMBER(liveSize) | 208 IPC_STRUCT_TRAITS_MEMBER(liveSize) |
209 IPC_STRUCT_TRAITS_MEMBER(decodedSize) | 209 IPC_STRUCT_TRAITS_MEMBER(decodedSize) |
210 IPC_STRUCT_TRAITS_END() | 210 IPC_STRUCT_TRAITS_END() |
211 | 211 |
212 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::ResourceTypeStats) | 212 IPC_STRUCT_TRAITS_BEGIN(blink::WebCache::ResourceTypeStats) |
213 IPC_STRUCT_TRAITS_MEMBER(images) | 213 IPC_STRUCT_TRAITS_MEMBER(images) |
214 IPC_STRUCT_TRAITS_MEMBER(cssStyleSheets) | 214 IPC_STRUCT_TRAITS_MEMBER(cssStyleSheets) |
215 IPC_STRUCT_TRAITS_MEMBER(scripts) | 215 IPC_STRUCT_TRAITS_MEMBER(scripts) |
216 IPC_STRUCT_TRAITS_MEMBER(xslStyleSheets) | 216 IPC_STRUCT_TRAITS_MEMBER(xslStyleSheets) |
217 IPC_STRUCT_TRAITS_MEMBER(fonts) | 217 IPC_STRUCT_TRAITS_MEMBER(fonts) |
218 IPC_STRUCT_TRAITS_END() | 218 IPC_STRUCT_TRAITS_END() |
219 | 219 |
220 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCache::UsageStats) | 220 IPC_STRUCT_TRAITS_BEGIN(blink::WebCache::UsageStats) |
221 IPC_STRUCT_TRAITS_MEMBER(minDeadCapacity) | 221 IPC_STRUCT_TRAITS_MEMBER(minDeadCapacity) |
222 IPC_STRUCT_TRAITS_MEMBER(maxDeadCapacity) | 222 IPC_STRUCT_TRAITS_MEMBER(maxDeadCapacity) |
223 IPC_STRUCT_TRAITS_MEMBER(capacity) | 223 IPC_STRUCT_TRAITS_MEMBER(capacity) |
224 IPC_STRUCT_TRAITS_MEMBER(liveSize) | 224 IPC_STRUCT_TRAITS_MEMBER(liveSize) |
225 IPC_STRUCT_TRAITS_MEMBER(deadSize) | 225 IPC_STRUCT_TRAITS_MEMBER(deadSize) |
226 IPC_STRUCT_TRAITS_END() | 226 IPC_STRUCT_TRAITS_END() |
227 | 227 |
228 IPC_STRUCT_TRAITS_BEGIN(LanguageDetectionDetails) | 228 IPC_STRUCT_TRAITS_BEGIN(LanguageDetectionDetails) |
229 IPC_STRUCT_TRAITS_MEMBER(time) | 229 IPC_STRUCT_TRAITS_MEMBER(time) |
230 IPC_STRUCT_TRAITS_MEMBER(url) | 230 IPC_STRUCT_TRAITS_MEMBER(url) |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 // what the current state should be, and whether or not to animate to the | 393 // what the current state should be, and whether or not to animate to the |
394 // proper state. | 394 // proper state. |
395 IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState, | 395 IPC_MESSAGE_ROUTED3(ChromeViewMsg_UpdateTopControlsState, |
396 content::TopControlsState /* constraints */, | 396 content::TopControlsState /* constraints */, |
397 content::TopControlsState /* current */, | 397 content::TopControlsState /* current */, |
398 bool /* animate */) | 398 bool /* animate */) |
399 | 399 |
400 | 400 |
401 // Updates the window features of the render view. | 401 // Updates the window features of the render view. |
402 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetWindowFeatures, | 402 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetWindowFeatures, |
403 WebKit::WebWindowFeatures /* window_features */) | 403 blink::WebWindowFeatures /* window_features */) |
404 | 404 |
405 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK, | 405 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_RequestThumbnailForContextNode_ACK, |
406 SkBitmap /* thumbnail */, | 406 SkBitmap /* thumbnail */, |
407 gfx::Size /* original size of the image */) | 407 gfx::Size /* original size of the image */) |
408 | 408 |
409 #if defined(OS_ANDROID) | 409 #if defined(OS_ANDROID) |
410 // Asks the renderer to return information about whether the current page can | 410 // Asks the renderer to return information about whether the current page can |
411 // be treated as a webapp. | 411 // be treated as a webapp. |
412 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, | 412 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, |
413 GURL /* expected_url */) | 413 GURL /* expected_url */) |
(...skipping 28 matching lines...) Expand all Loading... |
442 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageContents, | 442 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageContents, |
443 GURL /* URL of the page */, | 443 GURL /* URL of the page */, |
444 string16 /* page contents */) | 444 string16 /* page contents */) |
445 | 445 |
446 // Notification that the language for the tab has been determined. | 446 // Notification that the language for the tab has been determined. |
447 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, | 447 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_TranslateLanguageDetermined, |
448 LanguageDetectionDetails /* details about lang detection */, | 448 LanguageDetectionDetails /* details about lang detection */, |
449 bool /* whether the page needs translation */) | 449 bool /* whether the page needs translation */) |
450 | 450 |
451 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, | 451 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_UpdatedCacheStats, |
452 WebKit::WebCache::UsageStats /* stats */) | 452 blink::WebCache::UsageStats /* stats */) |
453 | 453 |
454 // Tells the browser that content in the current page was blocked due to the | 454 // Tells the browser that content in the current page was blocked due to the |
455 // user's content settings. | 455 // user's content settings. |
456 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, | 456 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked, |
457 ContentSettingsType, /* type of blocked content */ | 457 ContentSettingsType, /* type of blocked content */ |
458 std::string /* resource identifier */) | 458 std::string /* resource identifier */) |
459 | 459 |
460 // Sent by the renderer process to check whether access to web databases is | 460 // Sent by the renderer process to check whether access to web databases is |
461 // granted by content settings. | 461 // granted by content settings. |
462 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, | 462 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase, |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 | 613 |
614 // Notifies when a plugin couldn't be loaded because it requires | 614 // Notifies when a plugin couldn't be loaded because it requires |
615 // user authorization. | 615 // user authorization. |
616 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, | 616 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |
617 string16 /* name */, | 617 string16 /* name */, |
618 std::string /* plug-in group identifier */) | 618 std::string /* plug-in group identifier */) |
619 | 619 |
620 // Provide the browser process with information about the WebCore resource | 620 // Provide the browser process with information about the WebCore resource |
621 // cache and current renderer framerate. | 621 // cache and current renderer framerate. |
622 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_ResourceTypeStats, | 622 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_ResourceTypeStats, |
623 WebKit::WebCache::ResourceTypeStats) | 623 blink::WebCache::ResourceTypeStats) |
624 | 624 |
625 // Notifies the browser that a page has been translated. | 625 // Notifies the browser that a page has been translated. |
626 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_PageTranslated, | 626 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_PageTranslated, |
627 int, /* page id */ | 627 int, /* page id */ |
628 std::string /* the original language */, | 628 std::string /* the original language */, |
629 std::string /* the translated language */, | 629 std::string /* the translated language */, |
630 TranslateErrors::Type /* the error type if available */) | 630 TranslateErrors::Type /* the error type if available */) |
631 | 631 |
632 // Message sent from the renderer to the browser to notify it of a | 632 // Message sent from the renderer to the browser to notify it of a |
633 // window.print() call which should cancel the prerender. The message is sent | 633 // window.print() call which should cancel the prerender. The message is sent |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 std::vector<GURL> /* search_urls */, | 778 std::vector<GURL> /* search_urls */, |
779 GURL /* new_tab_page_url */) | 779 GURL /* new_tab_page_url */) |
780 | 780 |
781 // Tells listeners that a detailed message was reported to the console by | 781 // Tells listeners that a detailed message was reported to the console by |
782 // WebKit. | 782 // WebKit. |
783 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 783 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
784 string16 /* message */, | 784 string16 /* message */, |
785 string16 /* source */, | 785 string16 /* source */, |
786 extensions::StackTrace /* stack trace */, | 786 extensions::StackTrace /* stack trace */, |
787 int32 /* severity level */) | 787 int32 /* severity level */) |
OLD | NEW |