| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |