|
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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91390
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+82 lines, -35 lines) |
Patch |
|
M |
chrome/browser/browser_process_impl.h
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/browser_process_impl.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/speech/speech_input_bubble.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/tab_contents/web_drag_dest_gtk.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/shell_dialogs.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/net/browser_online_state_observer.h
|
View
|
1
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/net/browser_online_state_observer.cc
|
View
|
1
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/browser_render_process_host.cc
|
View
|
1
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/tab_contents/tab_contents.h
|
View
|
1
2
|
5 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/browser/tab_contents/tab_contents.cc
|
View
|
1
2
|
4 chunks |
+0 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/common/view_messages.h
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread.cc
|
View
|
1
2
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_view.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_view.cc
|
View
|
1
2
|
4 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|