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

Side by Side Diff: chrome/browser/plugin_process_host.h

Issue 196012: This changelist fixes some issues with the NPAPI WMP plugin work in Chrome. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #ifndef CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_
6 #define CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <set> 10 #include <set>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // renderer. When the plugin process responds with the channel name, 60 // renderer. When the plugin process responds with the channel name,
61 // reply_msg is used to send the name to the renderer. 61 // reply_msg is used to send the name to the renderer.
62 void OpenChannelToPlugin(ResourceMessageFilter* renderer_message_filter, 62 void OpenChannelToPlugin(ResourceMessageFilter* renderer_message_filter,
63 const std::string& mime_type, 63 const std::string& mime_type,
64 IPC::Message* reply_msg); 64 IPC::Message* reply_msg);
65 65
66 // Sends the reply to an open channel request to the renderer with the given 66 // Sends the reply to an open channel request to the renderer with the given
67 // channel name. 67 // channel name.
68 static void ReplyToRenderer(ResourceMessageFilter* renderer_message_filter, 68 static void ReplyToRenderer(ResourceMessageFilter* renderer_message_filter,
69 const IPC::ChannelHandle& channel, 69 const IPC::ChannelHandle& channel,
70 const FilePath& plugin_path, 70 const WebPluginInfo& info,
71 IPC::Message* reply_msg); 71 IPC::Message* reply_msg);
72 72
73 // This function is called on the IO thread once we receive a reply from the 73 // This function is called on the IO thread once we receive a reply from the
74 // modal HTML dialog (in the form of a JSON string). This function forwards 74 // modal HTML dialog (in the form of a JSON string). This function forwards
75 // that reply back to the plugin that requested the dialog. 75 // that reply back to the plugin that requested the dialog.
76 void OnModalDialogResponse(const std::string& json_retval, 76 void OnModalDialogResponse(const std::string& json_retval,
77 IPC::Message* sync_result); 77 IPC::Message* sync_result);
78 78
79 const WebPluginInfo& info() const { return info_; } 79 const WebPluginInfo& info() const { return info_; }
80 80
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 #if defined(OS_WIN) 146 #if defined(OS_WIN)
147 // Tracks plugin parent windows created on the UI thread. 147 // Tracks plugin parent windows created on the UI thread.
148 std::set<HWND> plugin_parent_windows_set_; 148 std::set<HWND> plugin_parent_windows_set_;
149 #endif 149 #endif
150 150
151 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); 151 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost);
152 }; 152 };
153 153
154 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ 154 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698