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/renderer/browser_plugin/browser_plugin_manager_impl.h" | 5 #include "content/renderer/browser_plugin/browser_plugin_manager_impl.h" |
6 | 6 |
7 #include "content/common/browser_plugin_messages.h" | 7 #include "content/common/browser_plugin_messages.h" |
8 #include "content/renderer/browser_plugin/browser_plugin.h" | 8 #include "content/renderer/browser_plugin/browser_plugin.h" |
9 #include "content/renderer/render_thread_impl.h" | 9 #include "content/renderer/render_thread_impl.h" |
10 #include "ui/gfx/point.h" | 10 #include "ui/gfx/point.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 source_routing_id, | 81 source_routing_id, |
82 instance_id, | 82 instance_id, |
83 request_id, | 83 request_id, |
84 local_position)); | 84 local_position)); |
85 } | 85 } |
86 | 86 |
87 // static | 87 // static |
88 bool BrowserPluginManagerImpl::ShouldForwardToBrowserPlugin( | 88 bool BrowserPluginManagerImpl::ShouldForwardToBrowserPlugin( |
89 const IPC::Message& message) { | 89 const IPC::Message& message) { |
90 switch (message.type()) { | 90 switch (message.type()) { |
91 case BrowserPluginMsg_UpdateRect::ID: | |
92 case BrowserPluginMsg_GuestGone::ID: | |
93 case BrowserPluginMsg_AdvanceFocus::ID: | 91 case BrowserPluginMsg_AdvanceFocus::ID: |
94 case BrowserPluginMsg_GuestContentWindowReady::ID: | 92 case BrowserPluginMsg_GuestContentWindowReady::ID: |
95 case BrowserPluginMsg_ShouldAcceptTouchEvents::ID: | 93 case BrowserPluginMsg_GuestGone::ID: |
| 94 case BrowserPluginMsg_GuestResponsive::ID: |
| 95 case BrowserPluginMsg_GuestUnresponsive::ID: |
| 96 case BrowserPluginMsg_LoadAbort::ID: |
| 97 case BrowserPluginMsg_LoadCommit::ID: |
| 98 case BrowserPluginMsg_LoadRedirect::ID: |
96 case BrowserPluginMsg_LoadStart::ID: | 99 case BrowserPluginMsg_LoadStart::ID: |
97 case BrowserPluginMsg_LoadAbort::ID: | |
98 case BrowserPluginMsg_LoadRedirect::ID: | |
99 case BrowserPluginMsg_LoadCommit::ID: | |
100 case BrowserPluginMsg_LoadStop::ID: | 100 case BrowserPluginMsg_LoadStop::ID: |
101 case BrowserPluginMsg_SetCursor::ID: | 101 case BrowserPluginMsg_SetCursor::ID: |
102 case BrowserPluginMsg_GuestUnresponsive::ID: | 102 case BrowserPluginMsg_ShouldAcceptTouchEvents::ID: |
103 case BrowserPluginMsg_GuestResponsive::ID: | 103 case BrowserPluginMsg_UpdateRect::ID: |
104 return true; | 104 return true; |
105 default: | 105 default: |
106 break; | 106 break; |
107 } | 107 } |
108 return false; | 108 return false; |
109 } | 109 } |
110 | 110 |
111 } // namespace content | 111 } // namespace content |
OLD | NEW |