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

Unified Diff: ash/shell/shell_delegate_impl.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/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 20e8fde871a1f51176dd950ed38647e2760bc874..2a573ac9cc077d02240883797e8ea2c5cce91fe0 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -8,6 +8,7 @@
#include "ash/caps_lock_delegate_stub.h"
#include "ash/default_accessibility_delegate.h"
#include "ash/default_user_wallpaper_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"
@@ -169,6 +170,11 @@ WindowTreeHostFactory* ShellDelegateImpl::CreateWindowTreeHostFactory() {
return WindowTreeHostFactory::Create();
}
+GPUSupport* ShellDelegateImpl::CreateGPUSupport() {
+ // Real GPU support depends on src/content, so just use a stub.
+ return new GPUSupportStub;
+}
+
base::string16 ShellDelegateImpl::GetProductName() const {
return base::string16();
}
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698