Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: content/renderer/browser_plugin/old/browser_plugin_channel_manager.cc

Issue 10829219: Browser Plugin: Move to old namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/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 21
21 BrowserPluginChannelManager::BrowserPluginChannelManager() { 22 BrowserPluginChannelManager::BrowserPluginChannelManager() {
22 } 23 }
23 24
24 BrowserPluginChannelManager::~BrowserPluginChannelManager() { 25 BrowserPluginChannelManager::~BrowserPluginChannelManager() {
25 } 26 }
26 27
27 void BrowserPluginChannelManager::CreateRenderView( 28 void BrowserPluginChannelManager::CreateRenderView(
28 const ViewMsg_New_Params& params) { 29 const ViewMsg_New_Params& params) {
29 IPC::ChannelHandle embedder_channel_handle; 30 IPC::ChannelHandle embedder_channel_handle;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id); 145 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id);
145 browser_plugin->LoadGuest(guest_process_id, channel_handle); 146 browser_plugin->LoadGuest(guest_process_id, channel_handle);
146 } 147 }
147 148
148 void BrowserPluginChannelManager::OnAdvanceFocus(int instance_id, 149 void BrowserPluginChannelManager::OnAdvanceFocus(int instance_id,
149 bool reverse) { 150 bool reverse) {
150 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id); 151 BrowserPlugin* browser_plugin = BrowserPlugin::FromID(instance_id);
151 browser_plugin->AdvanceFocus(reverse); 152 browser_plugin->AdvanceFocus(reverse);
152 } 153 }
153 154
155 } // namespace old
154 } // namespace content 156 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698