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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 | « content/browser/modal_html_dialog_delegate.cc ('k') | content/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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void AddWindow(HWND window); 99 void AddWindow(HWND window);
100 #endif 100 #endif
101 101
102 private: 102 private:
103 friend class PluginResolveProxyHelper; 103 friend class PluginResolveProxyHelper;
104 104
105 // Sends a message to the plugin process to request creation of a new channel 105 // Sends a message to the plugin process to request creation of a new channel
106 // for the given mime type. 106 // for the given mime type.
107 void RequestPluginChannel(Client* client); 107 void RequestPluginChannel(Client* client);
108 108
109 virtual void OnProcessLaunched();
110
111 // Message handlers. 109 // Message handlers.
112 void OnChannelCreated(const IPC::ChannelHandle& channel_handle); 110 void OnChannelCreated(const IPC::ChannelHandle& channel_handle);
113 void OnGetPluginFinderUrl(std::string* plugin_finder_url); 111 void OnGetPluginFinderUrl(std::string* plugin_finder_url);
114 void OnGetCookies(uint32 request_context, const GURL& url,
115 std::string* cookies);
116 void OnAccessFiles(int renderer_id, const std::vector<std::string>& files,
117 bool* allowed);
118 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg); 112 void OnResolveProxy(const GURL& url, IPC::Message* reply_msg);
119 void OnPluginMessage(const std::vector<uint8>& data);
120 113
121 #if defined(OS_WIN) 114 #if defined(OS_WIN)
122 void OnPluginWindowDestroyed(HWND window, HWND parent); 115 void OnPluginWindowDestroyed(HWND window, HWND parent);
123 void OnDownloadUrl(const std::string& url, int source_child_unique_id, 116 void OnDownloadUrl(const std::string& url, int source_child_unique_id,
124 gfx::NativeWindow caller_window); 117 gfx::NativeWindow caller_window);
125 #endif 118 #endif
126 119
127 #if defined(USE_X11) 120 #if defined(USE_X11)
128 void OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output); 121 void OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output);
129 #endif 122 #endif
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Tracks modal windows currently visible. 161 // Tracks modal windows currently visible.
169 std::set<uint32> plugin_modal_windows_set_; 162 std::set<uint32> plugin_modal_windows_set_;
170 // Tracks the current visibility of the cursor. 163 // Tracks the current visibility of the cursor.
171 bool plugin_cursor_visible_; 164 bool plugin_cursor_visible_;
172 #endif 165 #endif
173 166
174 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost); 167 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost);
175 }; 168 };
176 169
177 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 170 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/modal_html_dialog_delegate.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698