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

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

Issue 195079: Gears File Drag Drop (Closed) Base URL: http://src.chromium.org/svn/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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // Sends a message to the plugin process to request creation of a new channel 90 // Sends a message to the plugin process to request creation of a new channel
91 // for the given mime type. 91 // for the given mime type.
92 void RequestPluginChannel(ResourceMessageFilter* renderer_message_filter, 92 void RequestPluginChannel(ResourceMessageFilter* renderer_message_filter,
93 const std::string& mime_type, 93 const std::string& mime_type,
94 IPC::Message* reply_msg); 94 IPC::Message* reply_msg);
95 // Message handlers. 95 // Message handlers.
96 void OnChannelCreated(const IPC::ChannelHandle& channel_handle); 96 void OnChannelCreated(const IPC::ChannelHandle& channel_handle);
97 void OnGetPluginFinderUrl(std::string* plugin_finder_url); 97 void OnGetPluginFinderUrl(std::string* plugin_finder_url);
98 void OnGetCookies(uint32 request_context, const GURL& url, 98 void OnGetCookies(uint32 request_context, const GURL& url,
99 std::string* cookies); 99 std::string* cookies);
100 void OnAccessFiles(int process_id, const std::vector<std::string>& files, 100 void OnAccessFiles(int renderer_id, const std::vector<std::string>& files,
101 bool* allowed); 101 bool* allowed);
102 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 102 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
103 void OnPluginMessage(const std::vector<uint8>& data); 103 void OnPluginMessage(const std::vector<uint8>& data);
104 104
105 #if defined(OS_WIN) 105 #if defined(OS_WIN)
106 void OnPluginWindowDestroyed(HWND window, HWND parent); 106 void OnPluginWindowDestroyed(HWND window, HWND parent);
107 void OnDownloadUrl(const std::string& url, int source_child_unique_id, 107 void OnDownloadUrl(const std::string& url, int source_child_unique_id,
108 gfx::NativeWindow caller_window); 108 gfx::NativeWindow caller_window);
109 #endif 109 #endif
110 110
(...skipping 30 matching lines...) Expand all
141 141
142 #if defined(OS_WIN) 142 #if defined(OS_WIN)
143 // Tracks plugin parent windows created on the UI thread. 143 // Tracks plugin parent windows created on the UI thread.
144 std::set<HWND> plugin_parent_windows_set_; 144 std::set<HWND> plugin_parent_windows_set_;
145 #endif 145 #endif
146 146
147 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost); 147 DISALLOW_EVIL_CONSTRUCTORS(PluginProcessHost);
148 }; 148 };
149 149
150 #endif // CHROME_BROWSER_PLUGIN_PROCESS_HOST_H_ 150 #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