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

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

Issue 6526059: Plumb through NetworkChangeNotifier::IsOffline() to WebKit, enabling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Appease the C++ type system Created 9 years, 9 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
« no previous file with comments | « chrome/browser/sync/engine/syncapi.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 1070
1071 // Indicate whether speech input API is enabled or not. 1071 // Indicate whether speech input API is enabled or not.
1072 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled, 1072 IPC_MESSAGE_CONTROL1(ViewMsg_SpeechInput_SetFeatureEnabled,
1073 bool /* enabled */) 1073 bool /* enabled */)
1074 1074
1075 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that 1075 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that
1076 // the menu has been closed. 1076 // the menu has been closed.
1077 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed, 1077 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed,
1078 webkit_glue::CustomContextMenuContext /* custom_context */) 1078 webkit_glue::CustomContextMenuContext /* custom_context */)
1079 1079
1080 // Tells the renderer that the network state has changed and that
1081 // window.navigator.onLine should be updated for all WebViews.
1082 IPC_MESSAGE_ROUTED1(ViewMsg_NetworkStateChanged,
1083 bool /* online */)
1084
1080 //----------------------------------------------------------------------------- 1085 //-----------------------------------------------------------------------------
1081 // TabContents messages 1086 // TabContents messages
1082 // These are messages sent from the renderer to the browser process. 1087 // These are messages sent from the renderer to the browser process.
1083 1088
1084 // Sent by the renderer when it is creating a new window. The browser creates 1089 // Sent by the renderer when it is creating a new window. The browser creates
1085 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1090 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1086 // MSG_ROUTING_NONE, the view couldn't be created. 1091 // MSG_ROUTING_NONE, the view couldn't be created.
1087 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow, 1092 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateWindow,
1088 ViewHostMsg_CreateWindow_Params, 1093 ViewHostMsg_CreateWindow_Params,
1089 int /* route_id */, 1094 int /* route_id */,
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
2545 // while performing stress testing. 2550 // while performing stress testing.
2546 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, 2551 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl,
2547 int /* cmd */, 2552 int /* cmd */,
2548 int /* param */) 2553 int /* param */)
2549 2554
2550 // Register a new handler for URL requests with the given scheme. 2555 // Register a new handler for URL requests with the given scheme.
2551 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, 2556 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler,
2552 std::string /* scheme */, 2557 std::string /* scheme */,
2553 GURL /* url */, 2558 GURL /* url */,
2554 string16 /* title */) 2559 string16 /* title */)
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncapi.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698