['_target_name=="content_gpu"', {
'sources': [
'gpu/gpu_thread_override_efl.cc',
- 'gpu/gpu_thread_override_efl.h',
],
}],
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/gpu/gpu_thread_override_efl.h"
-
#include "content/common/gpu/gpu_messages.h"
#include "content/gpu/gpu_process.h"
#include "ui/gl/gl_shared_context_efl.h"
// in order to provide on startup shared context and mailbox manager
// created form Efl shared evas gl context.
+namespace content {
+
struct GpuChildThreadEfl : public content::GpuChildThread {
explicit GpuChildThreadEfl(const std::string& channel_id)
: GpuChildThread(channel_id) { }
}
};
-base::Thread* CreateInProcessGpuThreadEfl(const std::string& channel_id) {
+base::Thread* CreateInProcessGpuThread(const std::string& channel_id) {
return new InProcessGpuThreadEfl(channel_id);
}
+
+} // namespace content
+++ /dev/null
-// Copyright 2014 Samsung Electronics. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef GPU_GPU_THREAD_OVERRIDE_EFL_H
-#define GPU_GPU_THREAD_OVERRIDE_EFL_H
-
-#include <string>
-
-namespace base {
-class Thread;
-}
-
-base::Thread* CreateInProcessGpuThreadEfl(const std::string& channel_id);
-
-#endif // GPU_GPU_THREAD_OVERRIDE_EFL_H
#include "content/browser/gpu/gpu_process_host.h"
#include "content/common/paths_efl.h"
#include "content/gpu/in_process_gpu_thread.h"
-#include "content/gpu/gpu_thread_override_efl.h"
#include "content/public/common/content_switches.h"
#include "browser/resource_dispatcher_host_delegate_efl.h"
#include "command_line_efl.h"
switches::kBrowserSubprocessPath, base::FilePath(SubProcessPath()));
// needed for gpu thread
- GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThreadEfl);
+ GpuProcessHost::RegisterGpuMainThreadFactory(CreateInProcessGpuThread);
}
ContentBrowserClient* ContentMainDelegateEfl::CreateContentBrowserClient() {
#include "content/utility/in_process_utility_thread.h"
#include "content/browser/utility_process_host_impl.h"
#include "content/browser/renderer_host/render_process_host_impl.h"
-#include "content/gpu/gpu_thread_override_efl.h"
#include "efl/window_factory.h"
#include "eweb_view.h"
#include "tizen_webview/public/tw_web_context.h"
content::RenderProcessHostImpl::RegisterRendererMainThreadFactory(
content::CreateInProcessRendererThread);
GpuProcessHost::RegisterGpuMainThreadFactory(
- CreateInProcessGpuThreadEfl);
+ content::CreateInProcessGpuThread);
}
#ifndef NDEBUG