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

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

Issue 1121653002: Experiment for disabling accelerated video decoding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bug ID added in comment Created 5 years, 7 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
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.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) 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_PRIVATE_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const std::string& header, 82 const std::string& header,
83 const std::string& message); 83 const std::string& message);
84 84
85 void ProcessCrashed(base::TerminationStatus exit_code); 85 void ProcessCrashed(base::TerminationStatus exit_code);
86 86
87 base::ListValue* GetLogMessages() const; 87 base::ListValue* GetLogMessages() const;
88 88
89 void HandleGpuSwitch(); 89 void HandleGpuSwitch();
90 90
91 bool CanUseGpuBrowserCompositor() const; 91 bool CanUseGpuBrowserCompositor() const;
92 bool ShouldDisableAcceleratedVideoDecode(
93 const base::CommandLine* command_line) const;
92 94
93 void GetDisabledExtensions(std::string* disabled_extensions) const; 95 void GetDisabledExtensions(std::string* disabled_extensions) const;
94 96
95 void BlockDomainFrom3DAPIs( 97 void BlockDomainFrom3DAPIs(
96 const GURL& url, GpuDataManagerImpl::DomainGuilt guilt); 98 const GURL& url, GpuDataManagerImpl::DomainGuilt guilt);
97 bool Are3DAPIsBlocked(const GURL& url, 99 bool Are3DAPIsBlocked(const GURL& url,
98 int render_process_id, 100 int render_process_id,
99 int render_view_id, 101 int render_view_id,
100 ThreeDAPIType requester); 102 ThreeDAPIType requester);
101 103
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 bool finalized_; 275 bool finalized_;
274 276
275 std::string disabled_extensions_; 277 std::string disabled_extensions_;
276 278
277 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
278 }; 280 };
279 281
280 } // namespace content 282 } // namespace content
281 283
282 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
283
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698