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

Side by Side Diff: webkit/glue/webkit_glue.h

Issue 164305: Ensure we don't load plugins on the IO thread (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « webkit/glue/plugins/plugin_list_win.cc ('k') | webkit/glue/webkitclient_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_WEBKIT_GLUE_H_ 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // Gets the protocol that is used for all user interface resources, including 167 // Gets the protocol that is used for all user interface resources, including
168 // the Inspector. It must end with "-resource". 168 // the Inspector. It must end with "-resource".
169 std::string GetUIResourceProtocol(); 169 std::string GetUIResourceProtocol();
170 170
171 // Gets the directory where the launching executable resides on disk. 171 // Gets the directory where the launching executable resides on disk.
172 // Path is an output parameter to receive the path. 172 // Path is an output parameter to receive the path.
173 // Returns true if successful, false otherwise. 173 // Returns true if successful, false otherwise.
174 bool GetExeDirectory(std::wstring* path); 174 bool GetExeDirectory(std::wstring* path);
175 175
176 // Embedders implement this function to return the list of plugins to Webkit. 176 // Embedders implement this function to return the list of plugins to Webkit.
177 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins); 177 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins);
178 178
179 // Returns true if the plugins run in the same process as the renderer, and 179 // Returns true if the plugins run in the same process as the renderer, and
180 // false otherwise. 180 // false otherwise.
181 bool IsPluginRunningInRendererProcess(); 181 bool IsPluginRunningInRendererProcess();
182 182
183 // Returns a bool indicating if the Null plugin should be enabled or not. 183 // Returns a bool indicating if the Null plugin should be enabled or not.
184 bool IsDefaultPluginEnabled(); 184 bool IsDefaultPluginEnabled();
185 185
186 #if defined(OS_WIN) 186 #if defined(OS_WIN)
187 // Downloads the file specified by the URL. On sucess a WM_COPYDATA message 187 // Downloads the file specified by the URL. On sucess a WM_COPYDATA message
(...skipping 16 matching lines...) Expand all
204 204
205 // Enable or disable the disk cache. Used for debugging. 205 // Enable or disable the disk cache. Used for debugging.
206 void SetCacheMode(bool enabled); 206 void SetCacheMode(bool enabled);
207 207
208 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER --------------------------------- 208 // ---- END FUNCTIONS IMPLEMENTED BY EMBEDDER ---------------------------------
209 209
210 210
211 } // namespace webkit_glue 211 } // namespace webkit_glue
212 212
213 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 213 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_list_win.cc ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698