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 13 matching lines...) Expand all Loading... |
24 #include "chrome/common/search_provider.h" | 24 #include "chrome/common/search_provider.h" |
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/base/window_open_disposition.h" |
34 #include "ui/gfx/rect.h" | 35 #include "ui/gfx/rect.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 |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, | 650 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetSuggestions, |
650 int /* page_id */, | 651 int /* page_id */, |
651 std::vector<InstantSuggestion> /* suggestions */) | 652 std::vector<InstantSuggestion> /* suggestions */) |
652 | 653 |
653 // Sent by the Instant preview indicating whether the page supports the Instant | 654 // Sent by the Instant preview indicating whether the page supports the Instant |
654 // API or not (http://dev.chromium.org/searchbox). | 655 // API or not (http://dev.chromium.org/searchbox). |
655 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, | 656 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, |
656 int /* page_id */, | 657 int /* page_id */, |
657 bool /* result */) | 658 bool /* result */) |
658 | 659 |
659 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_SearchBoxNavigate, | 660 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate, |
660 int /* page_id */, | 661 int /* page_id */, |
661 GURL /* destination */, | 662 GURL /* destination */, |
662 content::PageTransition /* transition */) | 663 content::PageTransition /* transition */, |
| 664 WindowOpenDisposition /* disposition */) |
663 | 665 |
664 // Sent by the Instant preview asking to show itself with the given height. | 666 // Sent by the Instant preview asking to show itself with the given height. |
665 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview, | 667 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantPreview, |
666 int /* page_id */, | 668 int /* page_id */, |
667 InstantShownReason /* reason */, | 669 InstantShownReason /* reason */, |
668 int /* height */, | 670 int /* height */, |
669 InstantSizeUnits /* units */) | 671 InstantSizeUnits /* units */) |
670 | 672 |
671 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, | 673 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, |
672 int /* page_id */) | 674 int /* page_id */) |
(...skipping 24 matching lines...) Expand all Loading... |
697 // previous SetCookie message to be processed. | 699 // previous SetCookie message to be processed. |
698 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 700 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
699 GURL /* url */, | 701 GURL /* url */, |
700 GURL /* first_party_for_cookies */, | 702 GURL /* first_party_for_cookies */, |
701 std::string /* cookies */) | 703 std::string /* cookies */) |
702 | 704 |
703 // Provide the browser process with current renderer framerate. | 705 // Provide the browser process with current renderer framerate. |
704 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 706 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
705 int /* routing id */, | 707 int /* routing id */, |
706 float /* frames per second */) | 708 float /* frames per second */) |
OLD | NEW |