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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, | 665 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, |
665 int /* page_id */, | 666 int /* page_id */, |
666 std::vector<InstantSuggestion> /* suggestions */) | 667 std::vector<InstantSuggestion> /* suggestions */) |
667 | 668 |
668 // Sent by the Instant preview indicating whether the page supports the Instant | 669 // Sent by the Instant preview indicating whether the page supports the Instant |
669 // API or not (http://dev.chromium.org/searchbox). | 670 // API or not (http://dev.chromium.org/searchbox). |
670 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, | 671 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, |
671 int /* page_id */, | 672 int /* page_id */, |
672 bool /* result */) | 673 bool /* result */) |
673 | 674 |
674 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SearchBoxNavigate, | 675 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate, |
675 int /* page_id */, | 676 int /* page_id */, |
676 GURL /* destination */, | 677 GURL /* destination */, |
677 content::PageTransition /* transition */) | 678 content::PageTransition /* transition */, |
| 679 WindowOpenDisposition /* disposition */) |
678 | 680 |
679 // Sent by the Instant preview asking to show itself with the given height. | 681 // Sent by the Instant preview asking to show itself with the given height. |
680 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview, | 682 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview, |
681 int /* page_id */, | 683 int /* page_id */, |
682 InstantShownReason /* reason */, | 684 InstantShownReason /* reason */, |
683 int /* height */, | 685 int /* height */, |
684 InstantSizeUnits /* units */) | 686 InstantSizeUnits /* units */) |
685 | 687 |
686 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, | 688 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, |
687 int /* page_id */) | 689 int /* page_id */) |
(...skipping 24 matching lines...) Expand all Loading... |
712 // previous SetCookie message to be processed. | 714 // previous SetCookie message to be processed. |
713 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 715 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
714 GURL /* url */, | 716 GURL /* url */, |
715 GURL /* first_party_for_cookies */, | 717 GURL /* first_party_for_cookies */, |
716 std::string /* cookies */) | 718 std::string /* cookies */) |
717 | 719 |
718 // Provide the browser process with current renderer framerate. | 720 // Provide the browser process with current renderer framerate. |
719 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 721 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
720 int /* routing id */, | 722 int /* routing id */, |
721 float /* frames per second */) | 723 float /* frames per second */) |
OLD | NEW |