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

Side by Side Diff: content/ppapi_plugin/ppapi_thread.h

Issue 104673003: Pepper: Send dev/canary channel status to plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OVERRIDE build fix Created 7 years 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/ppapi_plugin_process_host.cc ('k') | content/ppapi_plugin/ppapi_thread.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) 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_PPAPI_PLUGIN_PPAPI_THREAD_H_ 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual void PreCacheFont(const void* logfontw) OVERRIDE; 86 virtual void PreCacheFont(const void* logfontw) OVERRIDE;
87 virtual void SetActiveURL(const std::string& url) OVERRIDE; 87 virtual void SetActiveURL(const std::string& url) OVERRIDE;
88 virtual PP_Resource CreateBrowserFont( 88 virtual PP_Resource CreateBrowserFont(
89 ppapi::proxy::Connection connection, 89 ppapi::proxy::Connection connection,
90 PP_Instance instance, 90 PP_Instance instance,
91 const PP_BrowserFont_Trusted_Description& desc, 91 const PP_BrowserFont_Trusted_Description& desc,
92 const ppapi::Preferences& prefs) OVERRIDE; 92 const ppapi::Preferences& prefs) OVERRIDE;
93 93
94 // Message handlers. 94 // Message handlers.
95 void OnLoadPlugin(const base::FilePath& path, 95 void OnLoadPlugin(const base::FilePath& path,
96 const ppapi::PpapiPermissions& permissions); 96 const ppapi::PpapiPermissions& permissions,
97 bool supports_dev_channel);
97 void OnCreateChannel(base::ProcessId renderer_pid, 98 void OnCreateChannel(base::ProcessId renderer_pid,
98 int renderer_child_id, 99 int renderer_child_id,
99 bool incognito); 100 bool incognito);
100 void OnResourceReply( 101 void OnResourceReply(
101 const ppapi::proxy::ResourceMessageReplyParams& reply_params, 102 const ppapi::proxy::ResourceMessageReplyParams& reply_params,
102 const IPC::Message& nested_msg); 103 const IPC::Message& nested_msg);
103 void OnSetNetworkState(bool online); 104 void OnSetNetworkState(bool online);
104 void OnCrash(); 105 void OnCrash();
105 void OnHang(); 106 void OnHang();
106 107
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // Caches the handle to the peer process if this is a broker. 156 // Caches the handle to the peer process if this is a broker.
156 base::win::ScopedHandle peer_handle_; 157 base::win::ScopedHandle peer_handle_;
157 #endif 158 #endif
158 159
159 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread); 160 DISALLOW_IMPLICIT_CONSTRUCTORS(PpapiThread);
160 }; 161 };
161 162
162 } // namespace content 163 } // namespace content
163 164
164 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_ 165 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/ppapi_plugin_process_host.cc ('k') | content/ppapi_plugin/ppapi_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698