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 // 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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 bool /* allowed */) | 281 bool /* allowed */) |
282 | 282 |
283 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. | 283 // Sent in response to ViewHostMsg_DidBlockRunningInsecureContent. |
284 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, | 284 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent, |
285 bool /* allowed */) | 285 bool /* allowed */) |
286 | 286 |
287 // Sent when the profile changes the kSafeBrowsingEnabled preference. | 287 // Sent when the profile changes the kSafeBrowsingEnabled preference. |
288 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, | 288 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetClientSidePhishingDetection, |
289 bool /* enable_phishing_detection */) | 289 bool /* enable_phishing_detection */) |
290 | 290 |
| 291 // JavaScript related messages ----------------------------------------------- |
| 292 |
| 293 // Notify the JavaScript engine in the render to change its parameters |
| 294 // while performing stress testing. |
| 295 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl, |
| 296 int /* cmd */, |
| 297 int /* param */) |
| 298 |
291 //----------------------------------------------------------------------------- | 299 //----------------------------------------------------------------------------- |
292 // TabContents messages | 300 // TabContents messages |
293 // These are messages sent from the renderer to the browser process. | 301 // These are messages sent from the renderer to the browser process. |
294 | 302 |
295 // Provides the contents for the given page that was loaded recently. | 303 // Provides the contents for the given page that was loaded recently. |
296 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents, | 304 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageContents, |
297 GURL /* URL of the page */, | 305 GURL /* URL of the page */, |
298 int32 /* page id */, | 306 int32 /* page id */, |
299 string16 /* page contents */) | 307 string16 /* page contents */) |
300 | 308 |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 | 521 |
514 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetSuggestions, | 522 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetSuggestions, |
515 int32 /* page_id */, | 523 int32 /* page_id */, |
516 std::vector<std::string> /* suggestions */, | 524 std::vector<std::string> /* suggestions */, |
517 InstantCompleteBehavior) | 525 InstantCompleteBehavior) |
518 | 526 |
519 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, | 527 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, |
520 int32 /* page_id */, | 528 int32 /* page_id */, |
521 bool /* result */) | 529 bool /* result */) |
522 | 530 |
523 // JavaScript related messages ----------------------------------------------- | 531 // The currently displayed PDF has an unsupported feature. |
| 532 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) |
524 | 533 |
525 // Notify the JavaScript engine in the render to change its parameters | |
526 // while performing stress testing. | |
527 IPC_MESSAGE_ROUTED2(ChromeViewMsg_JavaScriptStressTestControl, | |
528 int /* cmd */, | |
529 int /* param */) | |
OLD | NEW |