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 847 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 int /* id of browser window */) | 858 int /* id of browser window */) |
859 | 859 |
860 // Tell the renderer which type this view is. | 860 // Tell the renderer which type this view is. |
861 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType, | 861 IPC_MESSAGE_ROUTED1(ViewMsg_NotifyRenderViewType, |
862 ViewType::Type /* view_type */) | 862 ViewType::Type /* view_type */) |
863 | 863 |
864 // Notification that renderer should run some JavaScript code. | 864 // Notification that renderer should run some JavaScript code. |
865 IPC_MESSAGE_ROUTED1(ViewMsg_ExecuteCode, | 865 IPC_MESSAGE_ROUTED1(ViewMsg_ExecuteCode, |
866 ViewMsg_ExecuteCode_Params) | 866 ViewMsg_ExecuteCode_Params) |
867 | 867 |
868 #if defined(IPC_MESSAGE_LOG_ENABLED) | |
869 // Tell the renderer process to begin or end IPC message logging. | |
870 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, | |
871 bool /* on or off */) | |
872 #endif | |
873 | |
874 // SpellChecker messages. | 868 // SpellChecker messages. |
875 | 869 |
876 // Passes some initialization params to the renderer's spellchecker. This can | 870 // Passes some initialization params to the renderer's spellchecker. This can |
877 // be called directly after startup or in (async) response to a | 871 // be called directly after startup or in (async) response to a |
878 // RequestDictionary ViewHost message. | 872 // RequestDictionary ViewHost message. |
879 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, | 873 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, |
880 IPC::PlatformFileForTransit /* bdict_file */, | 874 IPC::PlatformFileForTransit /* bdict_file */, |
881 std::vector<std::string> /* custom_dict_words */, | 875 std::vector<std::string> /* custom_dict_words */, |
882 std::string /* language */, | 876 std::string /* language */, |
883 bool /* auto spell correct */) | 877 bool /* auto spell correct */) |
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2303 // while performing stress testing. | 2297 // while performing stress testing. |
2304 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2298 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2305 int /* cmd */, | 2299 int /* cmd */, |
2306 int /* param */) | 2300 int /* param */) |
2307 | 2301 |
2308 // Register a new handler for URL requests with the given scheme. | 2302 // Register a new handler for URL requests with the given scheme. |
2309 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 2303 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
2310 std::string /* scheme */, | 2304 std::string /* scheme */, |
2311 GURL /* url */, | 2305 GURL /* url */, |
2312 string16 /* title */) | 2306 string16 /* title */) |
OLD | NEW |