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

Side by Side Diff: chrome/test/base/testing_browser_process.cc

Issue 12593005: Add a user pref in Settings to disable all GPU features. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | « chrome/test/base/testing_browser_process.h ('k') | content/browser/gpu/gpu_data_manager_impl.h » ('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 #include "chrome/test/base/testing_browser_process.h" 5 #include "chrome/test/base/testing_browser_process.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 } 129 }
130 130
131 IconManager* TestingBrowserProcess::icon_manager() { 131 IconManager* TestingBrowserProcess::icon_manager() {
132 return NULL; 132 return NULL;
133 } 133 }
134 134
135 GLStringManager* TestingBrowserProcess::gl_string_manager() { 135 GLStringManager* TestingBrowserProcess::gl_string_manager() {
136 return NULL; 136 return NULL;
137 } 137 }
138 138
139 GpuModeManager* TestingBrowserProcess::gpu_mode_manager() {
140 return NULL;
141 }
142
139 RenderWidgetSnapshotTaker* 143 RenderWidgetSnapshotTaker*
140 TestingBrowserProcess::GetRenderWidgetSnapshotTaker() { 144 TestingBrowserProcess::GetRenderWidgetSnapshotTaker() {
141 #if defined(OS_IOS) 145 #if defined(OS_IOS)
142 NOTREACHED(); 146 NOTREACHED();
143 return NULL; 147 return NULL;
144 #else 148 #else
145 return render_widget_snapshot_taker_.get(); 149 return render_widget_snapshot_taker_.get();
146 #endif 150 #endif
147 } 151 }
148 152
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 #endif 386 #endif
383 } 387 }
384 388
385 void TestingBrowserProcess::SetSafeBrowsingService( 389 void TestingBrowserProcess::SetSafeBrowsingService(
386 SafeBrowsingService* sb_service) { 390 SafeBrowsingService* sb_service) {
387 #if !defined(OS_IOS) 391 #if !defined(OS_IOS)
388 NOTIMPLEMENTED(); 392 NOTIMPLEMENTED();
389 sb_service_ = sb_service; 393 sb_service_ = sb_service;
390 #endif 394 #endif
391 } 395 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | content/browser/gpu/gpu_data_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698