OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |