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

Side by Side Diff: content/public/browser/plugin_service.h

Issue 338523007: Pepper: Whitelist dev channel APIs for some apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: gross pnacl hack Created 6 years, 6 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/public/browser/content_browser_client.cc ('k') | ppapi/thunk/OWNERS » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 #elif defined(OS_WIN) 154 #elif defined(OS_WIN)
155 // Returns the name and version of a plugin HWND. If the HWND isn't a valid 155 // Returns the name and version of a plugin HWND. If the HWND isn't a valid
156 // plugin, returns false. 156 // plugin, returns false.
157 // This can be called from any thread. 157 // This can be called from any thread.
158 virtual bool GetPluginInfoFromWindow(HWND window, 158 virtual bool GetPluginInfoFromWindow(HWND window,
159 base::string16* plugin_name, 159 base::string16* plugin_name,
160 base::string16* plugin_version) = 0; 160 base::string16* plugin_version) = 0;
161 #endif 161 #endif
162 162
163 // Returns true iff PPAPI "dev channel" methods are supported. 163 // Returns true iff PPAPI "dev channel" methods are supported.
164 virtual bool PpapiDevChannelSupported() = 0; 164 virtual bool PpapiDevChannelSupported(BrowserContext* browser_context,
165 const GURL& document_url) = 0;
165 }; 166 };
166 167
167 } // namespace content 168 } // namespace content
168 169
169 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 170 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.cc ('k') | ppapi/thunk/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698