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

Side by Side Diff: content/renderer/java/java_bridge_channel.cc

Issue 16328003: Move a bunch of child-only code from content/common to content/child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 6 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/java/java_bridge_channel.h" 5 #include "content/renderer/java/java_bridge_channel.h"
6 6
7 #include "content/child/child_process.h"
7 #include "content/child/plugin_messages.h" 8 #include "content/child/plugin_messages.h"
8 #include "content/common/child_process.h"
9 #include "content/common/java_bridge_messages.h" 9 #include "content/common/java_bridge_messages.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 JavaBridgeChannel* JavaBridgeChannel::GetJavaBridgeChannel( 13 JavaBridgeChannel* JavaBridgeChannel::GetJavaBridgeChannel(
14 const IPC::ChannelHandle& channel_handle, 14 const IPC::ChannelHandle& channel_handle,
15 base::MessageLoopProxy* ipc_message_loop) { 15 base::MessageLoopProxy* ipc_message_loop) {
16 return static_cast<JavaBridgeChannel*>(NPChannelBase::GetChannel( 16 return static_cast<JavaBridgeChannel*>(NPChannelBase::GetChannel(
17 channel_handle, 17 channel_handle,
18 IPC::Channel::MODE_CLIENT, 18 IPC::Channel::MODE_CLIENT,
(...skipping 28 matching lines...) Expand all
47 // This is because, unlike in the case of plugins, the host does not need to 47 // This is because, unlike in the case of plugins, the host does not need to
48 // pump the message queue to avoid hangs. 48 // pump the message queue to avoid hangs.
49 if (msg.type() == PluginMsg_SignalModalDialogEvent::ID || 49 if (msg.type() == PluginMsg_SignalModalDialogEvent::ID ||
50 msg.type() == PluginMsg_ResetModalDialogEvent::ID) { 50 msg.type() == PluginMsg_ResetModalDialogEvent::ID) {
51 return true; 51 return true;
52 } 52 }
53 return NPChannelBase::OnControlMessageReceived(msg); 53 return NPChannelBase::OnControlMessageReceived(msg);
54 } 54 }
55 55
56 } // namespace content 56 } // namespace content
OLDNEW
« no previous file with comments | « content/ppapi_plugin/ppapi_webkitplatformsupport_impl.cc ('k') | content/renderer/java/java_bridge_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698