Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: ppapi/proxy/plugin_globals.h

Issue 10168026: Delete FunctionGroupBase from Pepper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
(...skipping 21 matching lines...) Expand all
32 inline static PluginGlobals* Get() { 32 inline static PluginGlobals* Get() {
33 DCHECK(PpapiGlobals::Get()->IsPluginGlobals()); 33 DCHECK(PpapiGlobals::Get()->IsPluginGlobals());
34 return static_cast<PluginGlobals*>(PpapiGlobals::Get()); 34 return static_cast<PluginGlobals*>(PpapiGlobals::Get());
35 } 35 }
36 36
37 // PpapiGlobals implementation. 37 // PpapiGlobals implementation.
38 virtual ResourceTracker* GetResourceTracker() OVERRIDE; 38 virtual ResourceTracker* GetResourceTracker() OVERRIDE;
39 virtual VarTracker* GetVarTracker() OVERRIDE; 39 virtual VarTracker* GetVarTracker() OVERRIDE;
40 virtual CallbackTracker* GetCallbackTrackerForInstance( 40 virtual CallbackTracker* GetCallbackTrackerForInstance(
41 PP_Instance instance) OVERRIDE; 41 PP_Instance instance) OVERRIDE;
42 virtual FunctionGroupBase* GetFunctionAPI(PP_Instance inst, 42 virtual thunk::PPB_Instance_API* GetInstanceAPI(
43 ApiID id) OVERRIDE; 43 PP_Instance instance) OVERRIDE;
44 virtual thunk::ResourceCreationAPI* GetResourceCreationAPI(
45 PP_Instance instance) OVERRIDE;
44 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE; 46 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
45 virtual std::string GetCmdLine() OVERRIDE; 47 virtual std::string GetCmdLine() OVERRIDE;
46 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE; 48 virtual void PreCacheFontForFlash(const void* logfontw) OVERRIDE;
47 virtual base::Lock* GetProxyLock() OVERRIDE; 49 virtual base::Lock* GetProxyLock() OVERRIDE;
48 virtual void LogWithSource(PP_Instance instance, 50 virtual void LogWithSource(PP_Instance instance,
49 PP_LogLevel_Dev level, 51 PP_LogLevel_Dev level,
50 const std::string& source, 52 const std::string& source,
51 const std::string& value) OVERRIDE; 53 const std::string& value) OVERRIDE;
52 virtual void BroadcastLogWithSource(PP_Module module, 54 virtual void BroadcastLogWithSource(PP_Module module,
53 PP_LogLevel_Dev level, 55 PP_LogLevel_Dev level,
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // called. 115 // called.
114 std::string command_line_; 116 std::string command_line_;
115 117
116 DISALLOW_COPY_AND_ASSIGN(PluginGlobals); 118 DISALLOW_COPY_AND_ASSIGN(PluginGlobals);
117 }; 119 };
118 120
119 } // namespace proxy 121 } // namespace proxy
120 } // namespace ppapi 122 } // namespace ppapi
121 123
122 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_ 124 #endif // PPAPI_PROXY_PLUGIN_GLOBALS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/plugin_globals.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698