| 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 29 matching lines...) Expand all Loading... |
| 40 case FrameHostMsg_Detach::ID: | 40 case FrameHostMsg_Detach::ID: |
| 41 case FrameHostMsg_DomOperationResponse::ID: | 41 case FrameHostMsg_DomOperationResponse::ID: |
| 42 case FrameHostMsg_CompositorFrameSwappedACK::ID: | 42 case FrameHostMsg_CompositorFrameSwappedACK::ID: |
| 43 case FrameHostMsg_ReclaimCompositorResources::ID: | 43 case FrameHostMsg_ReclaimCompositorResources::ID: |
| 44 // Input events propagate from parent to child. | 44 // Input events propagate from parent to child. |
| 45 case FrameHostMsg_ForwardInputEvent::ID: | 45 case FrameHostMsg_ForwardInputEvent::ID: |
| 46 case FrameHostMsg_InitializeChildFrame::ID: | 46 case FrameHostMsg_InitializeChildFrame::ID: |
| 47 // The browser should always have an accurate mirror of the renderer's | 47 // The browser should always have an accurate mirror of the renderer's |
| 48 // notion of the current page id. | 48 // notion of the current page id. |
| 49 case FrameHostMsg_DidAssignPageId::ID: | 49 case FrameHostMsg_DidAssignPageId::ID: |
| 50 // Used in layout tests; handled in WebKitTestController. | 50 // Used in layout tests; handled in BlinkTestController. |
| 51 case ShellViewHostMsg_PrintMessage::ID: | 51 case ShellViewHostMsg_PrintMessage::ID: |
| 52 return true; | 52 return true; |
| 53 default: | 53 default: |
| 54 break; | 54 break; |
| 55 } | 55 } |
| 56 | 56 |
| 57 // Check with the embedder as well. | 57 // Check with the embedder as well. |
| 58 ContentClient* client = GetContentClient(); | 58 ContentClient* client = GetContentClient(); |
| 59 return client->CanSendWhileSwappedOut(msg); | 59 return client->CanSendWhileSwappedOut(msg); |
| 60 } | 60 } |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 case AccessibilityHostMsg_Events::ID: | 92 case AccessibilityHostMsg_Events::ID: |
| 93 return true; | 93 return true; |
| 94 default: | 94 default: |
| 95 break; | 95 break; |
| 96 } | 96 } |
| 97 | 97 |
| 98 return false; | 98 return false; |
| 99 } | 99 } |
| 100 | 100 |
| 101 } // namespace content | 101 } // namespace content |
| OLD | NEW |