| OLD | NEW | 
|---|
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 
| 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 
| 7 | 7 | 
| 8 #include <stddef.h> | 8 #include <stddef.h> | 
| 9 #include <stdint.h> | 9 #include <stdint.h> | 
| 10 | 10 | 
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 108   void UpdateVideoMemoryUsageStats( | 108   void UpdateVideoMemoryUsageStats( | 
| 109       const gpu::VideoMemoryUsageStats& video_memory_usage_stats); | 109       const gpu::VideoMemoryUsageStats& video_memory_usage_stats); | 
| 110 | 110 | 
| 111   // Insert disable-feature switches corresponding to preliminary gpu feature | 111   // Insert disable-feature switches corresponding to preliminary gpu feature | 
| 112   // flags into the renderer process command line. | 112   // flags into the renderer process command line. | 
| 113   void AppendRendererCommandLine(base::CommandLine* command_line) const; | 113   void AppendRendererCommandLine(base::CommandLine* command_line) const; | 
| 114 | 114 | 
| 115   // Insert switches into gpu process command line: kUseGL, etc. | 115   // Insert switches into gpu process command line: kUseGL, etc. | 
| 116   void AppendGpuCommandLine(base::CommandLine* command_line) const; | 116   void AppendGpuCommandLine(base::CommandLine* command_line) const; | 
| 117 | 117 | 
| 118   // Insert switches into plugin process command line: |  | 
| 119   // kDisableCoreAnimationPlugins. |  | 
| 120   void AppendPluginCommandLine(base::CommandLine* command_line) const; |  | 
| 121 |  | 
| 122   // Update WebPreferences for renderer based on blacklisting decisions. | 118   // Update WebPreferences for renderer based on blacklisting decisions. | 
| 123   void UpdateRendererWebPrefs(WebPreferences* prefs) const; | 119   void UpdateRendererWebPrefs(WebPreferences* prefs) const; | 
| 124 | 120 | 
| 125   std::string GetBlacklistVersion() const; | 121   std::string GetBlacklistVersion() const; | 
| 126   std::string GetDriverBugListVersion() const; | 122   std::string GetDriverBugListVersion() const; | 
| 127 | 123 | 
| 128   // Returns the reasons for the latest run of blacklisting decisions. | 124   // Returns the reasons for the latest run of blacklisting decisions. | 
| 129   // For the structure of returned value, see documentation for | 125   // For the structure of returned value, see documentation for | 
| 130   // GpuBlacklist::GetBlacklistedReasons(). | 126   // GpuBlacklist::GetBlacklistedReasons(). | 
| 131   void GetBlacklistReasons(base::ListValue* reasons) const; | 127   void GetBlacklistReasons(base::ListValue* reasons) const; | 
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 221 | 217 | 
| 222   mutable base::Lock lock_; | 218   mutable base::Lock lock_; | 
| 223   scoped_ptr<GpuDataManagerImplPrivate> private_; | 219   scoped_ptr<GpuDataManagerImplPrivate> private_; | 
| 224 | 220 | 
| 225   DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); | 221   DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); | 
| 226 }; | 222 }; | 
| 227 | 223 | 
| 228 }  // namespace content | 224 }  // namespace content | 
| 229 | 225 | 
| 230 #endif  // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 226 #endif  // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 
| OLD | NEW | 
|---|