| 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 WEBKIT_PLUGINS_PPAPI_HOST_GLOBALS_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_HOST_GLOBALS_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_HOST_GLOBALS_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_HOST_GLOBALS_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "ppapi/shared_impl/callback_tracker.h" | 9 #include "ppapi/shared_impl/callback_tracker.h" |
| 10 #include "ppapi/shared_impl/ppapi_globals.h" | 10 #include "ppapi/shared_impl/ppapi_globals.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // PpapiGlobals implementation. | 36 // PpapiGlobals implementation. |
| 37 virtual ::ppapi::ResourceTracker* GetResourceTracker() OVERRIDE; | 37 virtual ::ppapi::ResourceTracker* GetResourceTracker() OVERRIDE; |
| 38 virtual ::ppapi::VarTracker* GetVarTracker() OVERRIDE; | 38 virtual ::ppapi::VarTracker* GetVarTracker() OVERRIDE; |
| 39 virtual ::ppapi::CallbackTracker* GetCallbackTrackerForInstance( | 39 virtual ::ppapi::CallbackTracker* GetCallbackTrackerForInstance( |
| 40 PP_Instance instance) OVERRIDE; | 40 PP_Instance instance) OVERRIDE; |
| 41 virtual ::ppapi::FunctionGroupBase* GetFunctionAPI( | 41 virtual ::ppapi::FunctionGroupBase* GetFunctionAPI( |
| 42 PP_Instance inst, | 42 PP_Instance inst, |
| 43 ::ppapi::ApiID id) OVERRIDE; | 43 ::ppapi::ApiID id) OVERRIDE; |
| 44 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; | 44 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; |
| 45 virtual std::string GetCmdLine() OVERRIDE; |
| 46 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; |
| 45 virtual base::Lock* GetProxyLock() OVERRIDE; | 47 virtual base::Lock* GetProxyLock() OVERRIDE; |
| 46 virtual void LogWithSource(PP_Instance instance, | 48 virtual void LogWithSource(PP_Instance instance, |
| 47 PP_LogLevel_Dev level, | 49 PP_LogLevel_Dev level, |
| 48 const std::string& source, | 50 const std::string& source, |
| 49 const std::string& value) OVERRIDE; | 51 const std::string& value) OVERRIDE; |
| 50 virtual void BroadcastLogWithSource(PP_Module module, | 52 virtual void BroadcastLogWithSource(PP_Module module, |
| 51 PP_LogLevel_Dev level, | 53 PP_LogLevel_Dev level, |
| 52 const std::string& source, | 54 const std::string& source, |
| 53 const std::string& value) OVERRIDE; | 55 const std::string& value) OVERRIDE; |
| 54 | 56 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 typedef std::map<PP_Module, PluginModule*> ModuleMap; | 110 typedef std::map<PP_Module, PluginModule*> ModuleMap; |
| 109 ModuleMap module_map_; | 111 ModuleMap module_map_; |
| 110 | 112 |
| 111 DISALLOW_COPY_AND_ASSIGN(HostGlobals); | 113 DISALLOW_COPY_AND_ASSIGN(HostGlobals); |
| 112 }; | 114 }; |
| 113 | 115 |
| 114 } // namespace ppapi | 116 } // namespace ppapi |
| 115 } // namespace webkit | 117 } // namespace webkit |
| 116 | 118 |
| 117 #endif // WEBKIT_PLUGINS_PPAPI_HOST_GLOBALS_H_ | 119 #endif // WEBKIT_PLUGINS_PPAPI_HOST_GLOBALS_H_ |
| OLD | NEW |