summaryrefslogtreecommitdiffstats
path: root/content/common/view_messages.h
diff options
context:
space:
mode:
authoradamk@google.com <adamk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-02 00:01:58 +0000
committeradamk@google.com <adamk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-02 00:01:58 +0000
commitf1c244e1c3d0fc1b44cc3044c1c49b4fe799eb0c (patch)
tree8472a6b1cadfe2ed1cac8b786c63cf494785633d /content/common/view_messages.h
parentcadea3888ab685b6e88589d008b9537e67a6d256 (diff)
downloadchromium_src-f1c244e1c3d0fc1b44cc3044c1c49b4fe799eb0c.zip
chromium_src-f1c244e1c3d0fc1b44cc3044c1c49b4fe799eb0c.tar.gz
chromium_src-f1c244e1c3d0fc1b44cc3044c1c49b4fe799eb0c.tar.bz2
Revert 91390 (build breakage) - Convert ViewMsg_NetworkStateChanged from routed -> control
allowing it to be sent from BrowserRenderProcessHost::OnProcessLaunched and minimizing the number of required IPCs (since the online state is a per-WebKit singleton). In doing so, I've disentangled online state management from TabContents: it now resides off by itself in BrowserOnlineStateObserver, a tiny class owned by BrowserProcessImpl. BUG=7469,86538 TEST=begin with network disconnected, open new tab, load test page attached to 7469, then re-connect network Review URL: http://codereview.chromium.org/7259004 TBR=eroman@chromium.org Review URL: http://codereview.chromium.org/7300018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91392 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/view_messages.h')
-rw-r--r--content/common/view_messages.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 52a069a72..7c3ef4a 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1148,8 +1148,8 @@ IPC_MESSAGE_ROUTED3(ViewMsg_AsyncOpenFile_ACK,
// Tells the renderer that the network state has changed and that
// window.navigator.onLine should be updated for all WebViews.
-IPC_MESSAGE_CONTROL1(ViewMsg_NetworkStateChanged,
- bool /* online */)
+IPC_MESSAGE_ROUTED1(ViewMsg_NetworkStateChanged,
+ bool /* online */)
// Enable accessibility in the renderer process.
IPC_MESSAGE_ROUTED0(ViewMsg_EnableAccessibility)