| 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 22 matching lines...) Expand all Loading... |
| 33 // Allow cross-process JavaScript calls. | 33 // Allow cross-process JavaScript calls. |
| 34 case ViewHostMsg_RouteCloseEvent::ID: | 34 case ViewHostMsg_RouteCloseEvent::ID: |
| 35 case ViewHostMsg_RouteMessageEvent::ID: | 35 case ViewHostMsg_RouteMessageEvent::ID: |
| 36 // Handled by RenderFrameHost. | 36 // Handled by RenderFrameHost. |
| 37 case FrameHostMsg_BeforeUnload_ACK::ID: | 37 case FrameHostMsg_BeforeUnload_ACK::ID: |
| 38 case FrameHostMsg_SwapOut_ACK::ID: | 38 case FrameHostMsg_SwapOut_ACK::ID: |
| 39 // Frame detach must occur after the RenderView has swapped out. | 39 // Frame detach must occur after the RenderView has swapped out. |
| 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_BuffersSwappedACK::ID: | |
| 44 case FrameHostMsg_ReclaimCompositorResources::ID: | 43 case FrameHostMsg_ReclaimCompositorResources::ID: |
| 45 // Input events propagate from parent to child. | 44 // Input events propagate from parent to child. |
| 46 case FrameHostMsg_ForwardInputEvent::ID: | 45 case FrameHostMsg_ForwardInputEvent::ID: |
| 47 case FrameHostMsg_InitializeChildFrame::ID: | 46 case FrameHostMsg_InitializeChildFrame::ID: |
| 48 return true; | 47 return true; |
| 49 default: | 48 default: |
| 50 break; | 49 break; |
| 51 } | 50 } |
| 52 | 51 |
| 53 // Check with the embedder as well. | 52 // Check with the embedder as well. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 case AccessibilityHostMsg_Events::ID: | 87 case AccessibilityHostMsg_Events::ID: |
| 89 return true; | 88 return true; |
| 90 default: | 89 default: |
| 91 break; | 90 break; |
| 92 } | 91 } |
| 93 | 92 |
| 94 return false; | 93 return false; |
| 95 } | 94 } |
| 96 | 95 |
| 97 } // namespace content | 96 } // namespace content |
| OLD | NEW |