| 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 13 matching lines...) Expand all Loading... |
| 24 // Allow targeted navigations while swapped out. | 24 // Allow targeted navigations while swapped out. |
| 25 case FrameHostMsg_OpenURL::ID: | 25 case FrameHostMsg_OpenURL::ID: |
| 26 case ViewHostMsg_Focus::ID: | 26 case ViewHostMsg_Focus::ID: |
| 27 // Handled by RenderViewHost. | 27 // Handled by RenderViewHost. |
| 28 case ViewHostMsg_ClosePage_ACK::ID: | 28 case ViewHostMsg_ClosePage_ACK::ID: |
| 29 case ViewHostMsg_SwapCompositorFrame::ID: | 29 case ViewHostMsg_SwapCompositorFrame::ID: |
| 30 // Handled by SharedWorkerMessageFilter. | 30 // Handled by SharedWorkerMessageFilter. |
| 31 case ViewHostMsg_DocumentDetached::ID: | 31 case ViewHostMsg_DocumentDetached::ID: |
| 32 // Allow cross-process JavaScript calls. | 32 // Allow cross-process JavaScript calls. |
| 33 case ViewHostMsg_RouteCloseEvent::ID: | 33 case ViewHostMsg_RouteCloseEvent::ID: |
| 34 // Send page scale factor reset notification upon cross-process navigations. |
| 35 case ViewHostMsg_PageScaleFactorChanged::ID: |
| 34 // Handled by RenderFrameHost. | 36 // Handled by RenderFrameHost. |
| 35 case FrameHostMsg_BeforeUnload_ACK::ID: | 37 case FrameHostMsg_BeforeUnload_ACK::ID: |
| 36 case FrameHostMsg_SwapOut_ACK::ID: | 38 case FrameHostMsg_SwapOut_ACK::ID: |
| 37 case FrameHostMsg_RenderProcessGone::ID: | 39 case FrameHostMsg_RenderProcessGone::ID: |
| 38 // Frame detach must occur after the RenderView has swapped out. | 40 // Frame detach must occur after the RenderView has swapped out. |
| 39 case FrameHostMsg_Detach::ID: | 41 case FrameHostMsg_Detach::ID: |
| 40 case FrameHostMsg_DomOperationResponse::ID: | 42 case FrameHostMsg_DomOperationResponse::ID: |
| 41 case FrameHostMsg_CompositorFrameSwappedACK::ID: | 43 case FrameHostMsg_CompositorFrameSwappedACK::ID: |
| 42 case FrameHostMsg_ReclaimCompositorResources::ID: | 44 case FrameHostMsg_ReclaimCompositorResources::ID: |
| 43 // Input events propagate from parent to child. | 45 // Input events propagate from parent to child. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 case AccessibilityHostMsg_Events::ID: | 93 case AccessibilityHostMsg_Events::ID: |
| 92 return true; | 94 return true; |
| 93 default: | 95 default: |
| 94 break; | 96 break; |
| 95 } | 97 } |
| 96 | 98 |
| 97 return false; | 99 return false; |
| 98 } | 100 } |
| 99 | 101 |
| 100 } // namespace content | 102 } // namespace content |
| OLD | NEW |