Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 6474012: Create a path to deliver SocketStream errors to the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add unit test and test_shell code Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 916 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 // |amount_sent| bytes of data requested by 927 // |amount_sent| bytes of data requested by
928 // ViewHostMsg_SocketStream_SendData has been sent on the Socket Stream. 928 // ViewHostMsg_SocketStream_SendData has been sent on the Socket Stream.
929 IPC_MESSAGE_CONTROL2(ViewMsg_SocketStream_SentData, 929 IPC_MESSAGE_CONTROL2(ViewMsg_SocketStream_SentData,
930 int /* socket_id */, 930 int /* socket_id */,
931 int /* amount_sent */) 931 int /* amount_sent */)
932 932
933 // The Socket Stream is closed. 933 // The Socket Stream is closed.
934 IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed, 934 IPC_MESSAGE_CONTROL1(ViewMsg_SocketStream_Closed,
935 int /* socket_id */) 935 int /* socket_id */)
936 936
937 // Report socket stream error.
938 // |error| is a number defined in net/base/net_error_list.h.
939 IPC_MESSAGE_CONTROL2(ViewMsg_SocketStream_Error,
940 int /* socket_id */,
941 int /* error */)
942
937 // SpellChecker messages. 943 // SpellChecker messages.
938 944
939 // Passes some initialization params to the renderer's spellchecker. This can 945 // Passes some initialization params to the renderer's spellchecker. This can
940 // be called directly after startup or in (async) response to a 946 // be called directly after startup or in (async) response to a
941 // RequestDictionary ViewHost message. 947 // RequestDictionary ViewHost message.
942 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init, 948 IPC_MESSAGE_CONTROL4(ViewMsg_SpellChecker_Init,
943 IPC::PlatformFileForTransit /* bdict_file */, 949 IPC::PlatformFileForTransit /* bdict_file */,
944 std::vector<std::string> /* custom_dict_words */, 950 std::vector<std::string> /* custom_dict_words */,
945 std::string /* language */, 951 std::string /* language */,
946 bool /* auto spell correct */) 952 bool /* auto spell correct */)
(...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after
2521 // The currently displayed PDF has an unsupported feature. 2527 // The currently displayed PDF has an unsupported feature.
2522 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) 2528 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature)
2523 2529
2524 // JavaScript related messages ----------------------------------------------- 2530 // JavaScript related messages -----------------------------------------------
2525 2531
2526 // Notify the JavaScript engine in the render to change its parameters 2532 // Notify the JavaScript engine in the render to change its parameters
2527 // while performing stress testing. 2533 // while performing stress testing.
2528 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2534 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2529 int /* cmd */, 2535 int /* cmd */,
2530 int /* param */) 2536 int /* param */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698