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

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

Issue 248703002: Remove ContentClient::CanHandleWhileSwappedOut(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « chrome/common/chrome_content_client_ios.mm ('k') | content/public/common/content_client.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) 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 case ViewHostMsg_Close::ID: 86 case ViewHostMsg_Close::ID:
87 // Sends an ACK. 87 // Sends an ACK.
88 case ViewHostMsg_RequestMove::ID: 88 case ViewHostMsg_RequestMove::ID:
89 // Sends an ACK. 89 // Sends an ACK.
90 case AccessibilityHostMsg_Events::ID: 90 case AccessibilityHostMsg_Events::ID:
91 return true; 91 return true;
92 default: 92 default:
93 break; 93 break;
94 } 94 }
95 95
96 // Check with the embedder as well. 96 return false;
97 ContentClient* client = GetContentClient();
98 return client->CanHandleWhileSwappedOut(msg);
99 } 97 }
100 98
101 } // namespace content 99 } // namespace content
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client_ios.mm ('k') | content/public/common/content_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698