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

Side by Side Diff: content/common/swapped_out_messages.cc

Issue 194443002: Add ViewHostMsg_DocumentDetached to SwappedOutMessages::CanSendWhileSwappedOut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/common/swapped_out_messages.h" 5 #include "content/common/swapped_out_messages.h"
6 6
7 #include "content/common/accessibility_messages.h" 7 #include "content/common/accessibility_messages.h"
8 #include "content/common/frame_messages.h" 8 #include "content/common/frame_messages.h"
9 #include "content/common/input_messages.h" 9 #include "content/common/input_messages.h"
10 #include "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 13 matching lines...) Expand all
24 case FrameHostMsg_OpenURL::ID: 24 case FrameHostMsg_OpenURL::ID:
25 case ViewHostMsg_Focus::ID: 25 case ViewHostMsg_Focus::ID:
26 // Handled by RenderViewHost. 26 // Handled by RenderViewHost.
27 case ViewHostMsg_RenderProcessGone::ID: 27 case ViewHostMsg_RenderProcessGone::ID:
28 case ViewHostMsg_ShouldClose_ACK::ID: 28 case ViewHostMsg_ShouldClose_ACK::ID:
29 case ViewHostMsg_SwapOut_ACK::ID: 29 case ViewHostMsg_SwapOut_ACK::ID:
30 case ViewHostMsg_ClosePage_ACK::ID: 30 case ViewHostMsg_ClosePage_ACK::ID:
31 case ViewHostMsg_SwapCompositorFrame::ID: 31 case ViewHostMsg_SwapCompositorFrame::ID:
32 case ViewHostMsg_UpdateIsDelayed::ID: 32 case ViewHostMsg_UpdateIsDelayed::ID:
33 case ViewHostMsg_DidActivateAcceleratedCompositing::ID: 33 case ViewHostMsg_DidActivateAcceleratedCompositing::ID:
34 // Handled by WorkerMessageFilter (or by SharedWorkerMessageFilter when
35 // embedded-shared-worker is enabled).
36 case ViewHostMsg_DocumentDetached::ID:
34 // Allow cross-process JavaScript calls. 37 // Allow cross-process JavaScript calls.
35 case ViewHostMsg_RouteCloseEvent::ID: 38 case ViewHostMsg_RouteCloseEvent::ID:
36 case ViewHostMsg_RouteMessageEvent::ID: 39 case ViewHostMsg_RouteMessageEvent::ID:
37 // Handled by RenderFrameHost. 40 // Handled by RenderFrameHost.
38 case FrameHostMsg_SwapOut_ACK::ID: 41 case FrameHostMsg_SwapOut_ACK::ID:
39 // Frame detach must occur after the RenderView has swapped out. 42 // Frame detach must occur after the RenderView has swapped out.
40 case FrameHostMsg_Detach::ID: 43 case FrameHostMsg_Detach::ID:
41 case FrameHostMsg_DomOperationResponse::ID: 44 case FrameHostMsg_DomOperationResponse::ID:
42 case FrameHostMsg_CompositorFrameSwappedACK::ID: 45 case FrameHostMsg_CompositorFrameSwappedACK::ID:
43 case FrameHostMsg_BuffersSwappedACK::ID: 46 case FrameHostMsg_BuffersSwappedACK::ID:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 default: 98 default:
96 break; 99 break;
97 } 100 }
98 101
99 // Check with the embedder as well. 102 // Check with the embedder as well.
100 ContentClient* client = GetContentClient(); 103 ContentClient* client = GetContentClient();
101 return client->CanHandleWhileSwappedOut(msg); 104 return client->CanHandleWhileSwappedOut(msg);
102 } 105 }
103 106
104 } // namespace content 107 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698