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

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

Issue 160211: Merge 21437 - CPAPI (0.11) for gears drag drop.... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 5 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 | « chrome/browser/chrome_plugin_host.cc ('k') | 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')
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/plugin_process_host.h:r21437
OLDNEW
1 // Copyright (c) 2006-2008 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>
11 #include <queue> 11 #include <queue>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Sends a message to the plugin process to request creation of a new channel 94 // Sends a message to the plugin process to request creation of a new channel
95 // for the given mime type. 95 // for the given mime type.
96 void RequestPluginChannel(ResourceMessageFilter* renderer_message_filter, 96 void RequestPluginChannel(ResourceMessageFilter* renderer_message_filter,
97 const std::string& mime_type, 97 const std::string& mime_type,
98 IPC::Message* reply_msg); 98 IPC::Message* reply_msg);
99 // Message handlers. 99 // Message handlers.
100 void OnChannelCreated(const IPC::ChannelHandle& channel_handle); 100 void OnChannelCreated(const IPC::ChannelHandle& channel_handle);
101 void OnGetPluginFinderUrl(std::string* plugin_finder_url); 101 void OnGetPluginFinderUrl(std::string* plugin_finder_url);
102 void OnGetCookies(uint32 request_context, const GURL& url, 102 void OnGetCookies(uint32 request_context, const GURL& url,
103 std::string* cookies); 103 std::string* cookies);
104 void OnAccessFiles(int process_id, const std::vector<std::string>& files,
105 bool* allowed);
104 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 106 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
105 void OnPluginMessage(const std::vector<uint8>& data); 107 void OnPluginMessage(const std::vector<uint8>& data);
106 108
107 #if defined(OS_WIN) 109 #if defined(OS_WIN)
108 void OnPluginWindowDestroyed(HWND window, HWND parent); 110 void OnPluginWindowDestroyed(HWND window, HWND parent);
109 void OnDownloadUrl(const std::string& url, int source_pid, 111 void OnDownloadUrl(const std::string& url, int source_pid,
110 gfx::NativeWindow caller_window); 112 gfx::NativeWindow caller_window);
111 #endif 113 #endif
112 114
113 #if defined(OS_LINUX) 115 #if defined(OS_LINUX)
(...skipping 29 matching lines...) Expand all
143 145
144 #if defined(OS_WIN) 146 #if defined(OS_WIN)
145 // Tracks plugin parent windows created on the UI thread. 147 // Tracks plugin parent windows created on the UI thread.
146 std::set<HWND> plugin_parent_windows_set_; 148 std::set<HWND> plugin_parent_windows_set_;
147 #endif 149 #endif
148 150
149 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); 151 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost);
150 }; 152 };
151 153
152 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ 154 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_plugin_host.cc ('k') | chrome/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698