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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 132173006: Provide real GPUSupport to ash for Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win (gpu_support) Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index bc9ebcf5646f5bc2c1d3c36af438bce81d85fb23..d58c0617a35a749a0d121090ebe8ee9f426bebb1 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -8,6 +8,7 @@
#include "ash/caps_lock_delegate_stub.h"
#include "ash/default_accessibility_delegate.h"
+#include "ash/gpu_support_stub.h"
#include "ash/host/root_window_host_factory.h"
#include "ash/media_delegate.h"
#include "ash/new_window_delegate.h"
@@ -150,6 +151,11 @@ WindowTreeHostFactory* TestShellDelegate::CreateWindowTreeHostFactory() {
return WindowTreeHostFactory::Create();
}
+GPUSupport* TestShellDelegate::CreateGPUSupport() {
+ // Real GPU support depends on src/content, so just use a stub.
+ return new GPUSupportStub;
+}
+
base::string16 TestShellDelegate::GetProductName() const {
return base::string16();
}
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698