| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 | 262 |
| 263 // Posts a message to the renderer. | 263 // Posts a message to the renderer. |
| 264 IPC_MESSAGE_ROUTED3(ChromeViewMsg_HandleMessageFromExternalHost, | 264 IPC_MESSAGE_ROUTED3(ChromeViewMsg_HandleMessageFromExternalHost, |
| 265 std::string /* The message */, | 265 std::string /* The message */, |
| 266 std::string /* The origin */, | 266 std::string /* The origin */, |
| 267 std::string /* The target*/) | 267 std::string /* The target*/) |
| 268 | 268 |
| 269 IPC_MESSAGE_ROUTED4(ChromeViewMsg_SearchBoxChange, | 269 IPC_MESSAGE_ROUTED4(ChromeViewMsg_SearchBoxChange, |
| 270 string16 /* value */, | 270 string16 /* value */, |
| 271 bool /* verbatim */, | 271 bool /* verbatim */, |
| 272 int /* selection_start */, | 272 size_t /* selection_start */, |
| 273 int /* selection_end */) | 273 size_t /* selection_end */) |
| 274 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxSubmit, | 274 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSubmit, |
| 275 string16 /* value */, | 275 string16 /* value */) |
| 276 bool /* verbatim */) | 276 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancel, |
| 277 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxCancel) | 277 string16 /* value */) |
| 278 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxResize, | 278 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxResize, |
| 279 gfx::Rect /* search_box_bounds */) | 279 gfx::Rect /* search_box_bounds */) |
| 280 IPC_MESSAGE_ROUTED4(ChromeViewMsg_DetermineIfPageSupportsInstant, | 280 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant) |
| 281 string16 /* value*/, | |
| 282 bool /* verbatim */, | |
| 283 int /* selection_start */, | |
| 284 int /* selection_end */) | |
| 285 | 281 |
| 286 // Toggles visual muting of the render view area. This is on when a constrained | 282 // Toggles visual muting of the render view area. This is on when a constrained |
| 287 // window is showing. | 283 // window is showing. |
| 288 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, | 284 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetVisuallyDeemphasized, |
| 289 bool /* deemphazied */) | 285 bool /* deemphazied */) |
| 290 | 286 |
| 291 // Tells the renderer to translate the page contents from one language to | 287 // Tells the renderer to translate the page contents from one language to |
| 292 // another. | 288 // another. |
| 293 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, | 289 IPC_MESSAGE_ROUTED4(ChromeViewMsg_TranslatePage, |
| 294 int /* page id */, | 290 int /* page id */, |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 // Sent when the renderer was prevented from running insecure content in | 593 // Sent when the renderer was prevented from running insecure content in |
| 598 // a secure origin by a security policy. The page may appear incomplete. | 594 // a secure origin by a security policy. The page may appear incomplete. |
| 599 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockRunningInsecureContent) | 595 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockRunningInsecureContent) |
| 600 | 596 |
| 601 // Message sent from renderer to the browser when the element that is focused | 597 // Message sent from renderer to the browser when the element that is focused |
| 602 // and currently accepts keyboard input inside the webpage has been touched. | 598 // and currently accepts keyboard input inside the webpage has been touched. |
| 603 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FocusedEditableNodeTouched) | 599 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FocusedEditableNodeTouched) |
| 604 | 600 |
| 605 // Suggest results ----------------------------------------------------------- | 601 // Suggest results ----------------------------------------------------------- |
| 606 | 602 |
| 603 // Sent by the Instant preview to populate the omnibox with query suggestions. |
| 607 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetSuggestions, | 604 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SetSuggestions, |
| 608 int32 /* page_id */, | 605 int /* page_id */, |
| 609 std::vector<std::string> /* suggestions */, | 606 std::vector<string16> /* suggestions */, |
| 610 InstantCompleteBehavior) | 607 InstantCompleteBehavior /* behavior */) |
| 611 | 608 |
| 609 // Sent by the Instant preview indicating whether the page supports the Instant |
| 610 // API or not (http://dev.chromium.org/searchbox). |
| 612 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, | 611 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, |
| 613 int32 /* page_id */, | 612 int /* page_id */, |
| 614 bool /* result */) | 613 bool /* result */) |
| 615 | 614 |
| 616 // The currently displayed PDF has an unsupported feature. | 615 // The currently displayed PDF has an unsupported feature. |
| 617 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) | 616 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) |
| 618 | 617 |
| 619 // This message indicates the error appeared in the frame. | 618 // This message indicates the error appeared in the frame. |
| 620 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, | 619 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, |
| 621 int /* error */) | 620 int /* error */) |
| 622 | 621 |
| 623 // This message indicates the monitored frame loading had completed. | 622 // This message indicates the monitored frame loading had completed. |
| 624 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) | 623 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) |
| (...skipping 11 matching lines...) Expand all Loading... |
| 636 // previous SetCookie message to be processed. | 635 // previous SetCookie message to be processed. |
| 637 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 636 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 638 GURL /* url */, | 637 GURL /* url */, |
| 639 GURL /* first_party_for_cookies */, | 638 GURL /* first_party_for_cookies */, |
| 640 std::string /* cookies */) | 639 std::string /* cookies */) |
| 641 | 640 |
| 642 // Provide the browser process with current renderer framerate. | 641 // Provide the browser process with current renderer framerate. |
| 643 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 642 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 644 int /* routing id */, | 643 int /* routing id */, |
| 645 float /* frames per second */) | 644 float /* frames per second */) |
| OLD | NEW |