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 PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ | 5 #ifndef PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ |
6 #define PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ | 6 #define PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace IPC { | 10 namespace IPC { |
(...skipping 16 matching lines...) Expand all Loading... | |
27 // Returns the language code of the current UI language. | 27 // Returns the language code of the current UI language. |
28 virtual std::string GetUILanguage() = 0; | 28 virtual std::string GetUILanguage() = 0; |
29 | 29 |
30 // Performs Windows-specific font caching in the browser for the given | 30 // Performs Windows-specific font caching in the browser for the given |
31 // LOGFONTW. Does nothing on non-Windows platforms. | 31 // LOGFONTW. Does nothing on non-Windows platforms. |
32 // Note: This method must be thread-safe. | 32 // Note: This method must be thread-safe. |
33 virtual void PreCacheFont(const void* logfontw) = 0; | 33 virtual void PreCacheFont(const void* logfontw) = 0; |
34 | 34 |
35 // Sets the active url which is reported by breakpad. | 35 // Sets the active url which is reported by breakpad. |
36 virtual void SetActiveURL(const std::string& url) = 0; | 36 virtual void SetActiveURL(const std::string& url) = 0; |
37 | |
38 virtual PP_Resource CreateBrowserFont( | |
jam
2013/07/25 17:20:24
nit: document
scottmg
2013/07/25 17:39:49
Done.
| |
39 Connection connection, | |
40 PP_Instance instance, | |
41 const PP_BrowserFont_Trusted_Description& desc, | |
42 const ppapi::Preferences& prefs) = 0; | |
yzshen1
2013/07/25 17:21:08
nit: ppapi:: is not needed.
scottmg
2013/07/25 17:39:49
Done.
| |
37 }; | 43 }; |
38 | 44 |
39 } // namespace proxy | 45 } // namespace proxy |
40 } // namespace ppapi | 46 } // namespace ppapi |
41 | 47 |
42 #endif // PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ | 48 #endif // PPAPI_PROXY_PLUGIN_PROXY_DELEGATE_H_ |
OLD | NEW |