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_SHARED_IMPL_TEST_GLOBALS_H_ | 5 #ifndef PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ |
6 #define PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ | 6 #define PPAPI_SHARED_IMPL_TEST_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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; | 46 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; |
47 virtual base::Lock* GetProxyLock() OVERRIDE; | 47 virtual base::Lock* GetProxyLock() OVERRIDE; |
48 virtual void LogWithSource(PP_Instance instance, | 48 virtual void LogWithSource(PP_Instance instance, |
49 PP_LogLevel_Dev level, | 49 PP_LogLevel_Dev level, |
50 const std::string& source, | 50 const std::string& source, |
51 const std::string& value) OVERRIDE; | 51 const std::string& value) OVERRIDE; |
52 virtual void BroadcastLogWithSource(PP_Module module, | 52 virtual void BroadcastLogWithSource(PP_Module module, |
53 PP_LogLevel_Dev level, | 53 PP_LogLevel_Dev level, |
54 const std::string& source, | 54 const std::string& source, |
55 const std::string& value) OVERRIDE; | 55 const std::string& value) OVERRIDE; |
| 56 virtual MessageLoopShared* GetCurrentMessageLoop() OVERRIDE; |
| 57 |
| 58 // PpapiGlobals overrides: |
| 59 virtual bool IsHostGlobals() const OVERRIDE; |
56 | 60 |
57 private: | 61 private: |
58 ResourceTracker resource_tracker_; | 62 ResourceTracker resource_tracker_; |
59 TestVarTracker var_tracker_; | 63 TestVarTracker var_tracker_; |
60 scoped_refptr<CallbackTracker> callback_tracker_; | 64 scoped_refptr<CallbackTracker> callback_tracker_; |
61 | 65 |
62 DISALLOW_COPY_AND_ASSIGN(TestGlobals); | 66 DISALLOW_COPY_AND_ASSIGN(TestGlobals); |
63 }; | 67 }; |
64 | 68 |
65 } // namespace ppapi | 69 } // namespace ppapi |
66 | 70 |
67 #endif // PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ | 71 #endif // PPAPI_SHARED_IMPL_TEST_GLOBALS_H_ |
OLD | NEW |