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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl.h

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
OLDNEW
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
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 214
219 mutable base::Lock lock_; 215 mutable base::Lock lock_;
220 scoped_ptr<GpuDataManagerImplPrivate> private_; 216 scoped_ptr<GpuDataManagerImplPrivate> private_;
221 217
222 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); 218 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
223 }; 219 };
224 220
225 } // namespace content 221 } // namespace content
226 222
227 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 223 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698