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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 // more sense with our current design. | 42 // more sense with our current design. |
43 | 43 |
44 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need | 44 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need |
45 // to typedef it to avoid that. | 45 // to typedef it to avoid that. |
46 // Substitution map for l10n messages. | 46 // Substitution map for l10n messages. |
47 typedef std::map<std::string, std::string> SubstitutionMap; | 47 typedef std::map<std::string, std::string> SubstitutionMap; |
48 | 48 |
49 class Value; | 49 class Value; |
50 class SkBitmap; | 50 class SkBitmap; |
51 class WebCursor; | 51 class WebCursor; |
52 struct GPUInfo; | |
53 struct ThumbnailScore; | 52 struct ThumbnailScore; |
54 | 53 |
55 namespace gfx { | 54 namespace gfx { |
56 class Rect; | 55 class Rect; |
57 } | 56 } |
58 | 57 |
59 namespace IPC { | 58 namespace IPC { |
60 struct ChannelHandle; | 59 struct ChannelHandle; |
61 class Message; | 60 class Message; |
62 } | 61 } |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 std::string /* The message */, | 598 std::string /* The message */, |
600 std::string /* The origin */, | 599 std::string /* The origin */, |
601 std::string /* The target*/) | 600 std::string /* The target*/) |
602 | 601 |
603 // Sent to the renderer when a popup window should no longer count against | 602 // Sent to the renderer when a popup window should no longer count against |
604 // the current popup count (either because it's not a popup or because it was | 603 // the current popup count (either because it's not a popup or because it was |
605 // a generated by a user action or because a constrained popup got turned | 604 // a generated by a user action or because a constrained popup got turned |
606 // into a full window). | 605 // into a full window). |
607 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 606 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
608 | 607 |
609 // The browser sends this to a renderer process in response to a | |
610 // GpuHostMsg_EstablishGpuChannel message. | |
611 IPC_MESSAGE_CONTROL3(ViewMsg_GpuChannelEstablished, | |
612 IPC::ChannelHandle /* handle to channel */, | |
613 base::ProcessHandle /* renderer_process_for_gpu */, | |
614 GPUInfo /* stats about GPU process*/) | |
615 | |
616 // Notifies the renderer of the appcache that has been selected for a | 608 // Notifies the renderer of the appcache that has been selected for a |
617 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. | 609 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. |
618 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, | 610 IPC_MESSAGE_CONTROL2(AppCacheMsg_CacheSelected, |
619 int /* host_id */, | 611 int /* host_id */, |
620 appcache::AppCacheInfo) | 612 appcache::AppCacheInfo) |
621 | 613 |
622 // Notifies the renderer of an AppCache status change. | 614 // Notifies the renderer of an AppCache status change. |
623 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, | 615 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, |
624 std::vector<int> /* host_ids */, | 616 std::vector<int> /* host_ids */, |
625 appcache::Status) | 617 appcache::Status) |
(...skipping 1671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2297 // while performing stress testing. | 2289 // while performing stress testing. |
2298 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2290 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2299 int /* cmd */, | 2291 int /* cmd */, |
2300 int /* param */) | 2292 int /* param */) |
2301 | 2293 |
2302 // Register a new handler for URL requests with the given scheme. | 2294 // Register a new handler for URL requests with the given scheme. |
2303 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2295 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2304 std::string /* scheme */, | 2296 std::string /* scheme */, |
2305 GURL /* url */, | 2297 GURL /* url */, |
2306 string16 /* title */) | 2298 string16 /* title */) |
OLD | NEW |