| 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 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/common/search_types.h" | 25 #include "chrome/common/search_types.h" |
| 26 #include "chrome/common/translate_errors.h" | 26 #include "chrome/common/translate_errors.h" |
| 27 #include "content/public/common/common_param_traits.h" | 27 #include "content/public/common/common_param_traits.h" |
| 28 #include "ipc/ipc_channel_handle.h" | 28 #include "ipc/ipc_channel_handle.h" |
| 29 #include "ipc/ipc_message_macros.h" | 29 #include "ipc/ipc_message_macros.h" |
| 30 #include "ipc/ipc_platform_file.h" | 30 #include "ipc/ipc_platform_file.h" |
| 31 #include "third_party/skia/include/core/SkBitmap.h" | 31 #include "third_party/skia/include/core/SkBitmap.h" |
| 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 34 #include "ui/gfx/rect.h" | 34 #include "ui/gfx/rect.h" |
| 35 #include "webkit/glue/window_open_disposition.h" |
| 35 | 36 |
| 36 // Singly-included section for enums and custom IPC traits. | 37 // Singly-included section for enums and custom IPC traits. |
| 37 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 38 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 38 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 39 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| 39 | 40 |
| 40 class SkBitmap; | 41 class SkBitmap; |
| 41 | 42 |
| 42 // Command values for the cmd parameter of the | 43 // Command values for the cmd parameter of the |
| 43 // ViewHost_JavaScriptStressTestControl message. For each command the parameter | 44 // ViewHost_JavaScriptStressTestControl message. For each command the parameter |
| 44 // passed has a different meaning: | 45 // passed has a different meaning: |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, | 662 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, |
| 662 int /* page_id */, | 663 int /* page_id */, |
| 663 std::vector<InstantSuggestion> /* suggestions */) | 664 std::vector<InstantSuggestion> /* suggestions */) |
| 664 | 665 |
| 665 // Sent by the Instant preview indicating whether the page supports the Instant | 666 // Sent by the Instant preview indicating whether the page supports the Instant |
| 666 // API or not (http://dev.chromium.org/searchbox). | 667 // API or not (http://dev.chromium.org/searchbox). |
| 667 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, | 668 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, |
| 668 int /* page_id */, | 669 int /* page_id */, |
| 669 bool /* result */) | 670 bool /* result */) |
| 670 | 671 |
| 671 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SearchBoxNavigate, | 672 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate, |
| 672 int /* page_id */, | 673 int /* page_id */, |
| 673 GURL /* destination */, | 674 GURL /* destination */, |
| 674 content::PageTransition /* transition */) | 675 content::PageTransition /* transition */, |
| 676 WindowOpenDisposition /* disposition */) |
| 675 | 677 |
| 676 // Sent by the Instant preview asking to show itself with the given height. | 678 // Sent by the Instant preview asking to show itself with the given height. |
| 677 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview, | 679 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview, |
| 678 int /* page_id */, | 680 int /* page_id */, |
| 679 InstantShownReason /* reason */, | 681 InstantShownReason /* reason */, |
| 680 int /* height */, | 682 int /* height */, |
| 681 InstantSizeUnits /* units */) | 683 InstantSizeUnits /* units */) |
| 682 | 684 |
| 683 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, | 685 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, |
| 684 int /* page_id */) | 686 int /* page_id */) |
| (...skipping 24 matching lines...) Expand all Loading... |
| 709 // previous SetCookie message to be processed. | 711 // previous SetCookie message to be processed. |
| 710 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 712 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 711 GURL /* url */, | 713 GURL /* url */, |
| 712 GURL /* first_party_for_cookies */, | 714 GURL /* first_party_for_cookies */, |
| 713 std::string /* cookies */) | 715 std::string /* cookies */) |
| 714 | 716 |
| 715 // Provide the browser process with current renderer framerate. | 717 // Provide the browser process with current renderer framerate. |
| 716 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 718 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 717 int /* routing id */, | 719 int /* routing id */, |
| 718 float /* frames per second */) | 720 float /* frames per second */) |
| OLD | NEW |