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/old/browser_plugin_channel_manager.h" | 5 #include "content/renderer/browser_plugin/old/browser_plugin_channel_manager.h" |
6 | 6 |
7 #include "base/process_util.h" | 7 #include "base/process_util.h" |
8 #include "content/common/old_browser_plugin_messages.h" | 8 #include "content/common/old_browser_plugin_messages.h" |
9 #include "content/common/view_messages.h" | 9 #include "content/common/view_messages.h" |
10 #include "content/renderer/browser_plugin/old/browser_plugin.h" | 10 #include "content/renderer/browser_plugin/old/old_browser_plugin.h" |
11 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h" | 11 #include "content/renderer/browser_plugin/old/guest_to_embedder_channel.h" |
12 #include "content/renderer/render_thread_impl.h" | 12 #include "content/renderer/render_thread_impl.h" |
13 #include "content/renderer/render_view_impl.h" | 13 #include "content/renderer/render_view_impl.h" |
14 #include "ppapi/c/pp_instance.h" | 14 #include "ppapi/c/pp_instance.h" |
15 #include "webkit/glue/webpreferences.h" | 15 #include "webkit/glue/webpreferences.h" |
16 | 16 |
17 using webkit_glue::WebPreferences; | 17 using webkit_glue::WebPreferences; |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 namespace old { | 20 namespace old { |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 } | 147 } |
148 | 148 |
149 void BrowserPluginChannelManager::OnAdvanceFocus(int instance_id, | 149 void BrowserPluginChannelManager::OnAdvanceFocus(int instance_id, |
150 bool reverse) { | 150 bool reverse) { |
151 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id); | 151 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id); |
152 browser_plugin->AdvanceFocus(reverse); | 152 browser_plugin->AdvanceFocus(reverse); |
153 } | 153 } |
154 | 154 |
155 } // namespace old | 155 } // namespace old |
156 } // namespace content | 156 } // namespace content |
OLD | NEW |