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_GLOBALS_H_ | 5 #ifndef PPAPI_PROXY_PLUGIN_GLOBALS_H_ |
6 #define PPAPI_PROXY_PLUGIN_GLOBALS_H_ | 6 #define PPAPI_PROXY_PLUGIN_GLOBALS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 PP_Instance instance) OVERRIDE; | 48 PP_Instance instance) OVERRIDE; |
49 virtual thunk::PPB_Instance_API* GetInstanceAPI( | 49 virtual thunk::PPB_Instance_API* GetInstanceAPI( |
50 PP_Instance instance) OVERRIDE; | 50 PP_Instance instance) OVERRIDE; |
51 virtual thunk::ResourceCreationAPI* GetResourceCreationAPI( | 51 virtual thunk::ResourceCreationAPI* GetResourceCreationAPI( |
52 PP_Instance instance) OVERRIDE; | 52 PP_Instance instance) OVERRIDE; |
53 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; | 53 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; |
54 virtual std::string GetCmdLine() OVERRIDE; | 54 virtual std::string GetCmdLine() OVERRIDE; |
55 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; | 55 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; |
56 virtual base::Lock* GetProxyLock() OVERRIDE; | 56 virtual base::Lock* GetProxyLock() OVERRIDE; |
57 virtual void LogWithSource(PP_Instance instance, | 57 virtual void LogWithSource(PP_Instance instance, |
58 PP_LogLevel_Dev level, | 58 PP_LogLevel level, |
59 const std::string& source, | 59 const std::string& source, |
60 const std::string& value) OVERRIDE; | 60 const std::string& value) OVERRIDE; |
61 virtual void BroadcastLogWithSource(PP_Module module, | 61 virtual void BroadcastLogWithSource(PP_Module module, |
62 PP_LogLevel_Dev level, | 62 PP_LogLevel level, |
63 const std::string& source, | 63 const std::string& source, |
64 const std::string& value) OVERRIDE; | 64 const std::string& value) OVERRIDE; |
65 virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE; | 65 virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE; |
66 | 66 |
67 // Returns the channel for sending to the browser. | 67 // Returns the channel for sending to the browser. |
68 IPC::Sender* GetBrowserSender(); | 68 IPC::Sender* GetBrowserSender(); |
69 | 69 |
70 // Returns the language code of the current UI language. | 70 // Returns the language code of the current UI language. |
71 std::string GetUILanguage(); | 71 std::string GetUILanguage(); |
72 | 72 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 | 147 |
148 scoped_ptr<BrowserSender> browser_sender_; | 148 scoped_ptr<BrowserSender> browser_sender_; |
149 | 149 |
150 DISALLOW_COPY_AND_ASSIGN(PluginGlobals); | 150 DISALLOW_COPY_AND_ASSIGN(PluginGlobals); |
151 }; | 151 }; |
152 | 152 |
153 } // namespace proxy | 153 } // namespace proxy |
154 } // namespace ppapi | 154 } // namespace ppapi |
155 | 155 |
156 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_ | 156 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_ |
OLD | NEW |