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

Unified Diff: content/browser/android/in_process/context_provider_in_process.h

Issue 1844843002: android: Remove in-process video path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove commented out code + rebase again Created 4 years, 8 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 | « no previous file | content/browser/android/in_process/context_provider_in_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/in_process/context_provider_in_process.h
diff --git a/content/browser/android/in_process/context_provider_in_process.h b/content/browser/android/in_process/context_provider_in_process.h
deleted file mode 100644
index 8baf1c4d868e4b23b2a4174661f03f7c4b879f11..0000000000000000000000000000000000000000
--- a/content/browser/android/in_process/context_provider_in_process.h
+++ /dev/null
@@ -1,86 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_BROWSER_ANDROID_IN_PROCESS_CONTEXT_PROVIDER_IN_PROCESS_H_
-#define CONTENT_BROWSER_ANDROID_IN_PROCESS_CONTEXT_PROVIDER_IN_PROCESS_H_
-
-#include <stdint.h>
-
-#include <memory>
-#include <string>
-
-#include "base/macros.h"
-#include "base/synchronization/lock.h"
-#include "base/threading/thread_checker.h"
-#include "cc/blink/context_provider_web_context.h"
-
-namespace blink { class WebGraphicsContext3D; }
-
-namespace gpu_blink {
-class WebGraphicsContext3DInProcessCommandBufferImpl;
-}
-
-namespace skia_bindings {
-class GrContextForGLES2Interface;
-}
-
-namespace content {
-
-class ContextProviderInProcess
- : NON_EXPORTED_BASE(public cc_blink::ContextProviderWebContext) {
- public:
- static scoped_refptr<ContextProviderInProcess> Create(
- std::unique_ptr<gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl>
- context3d,
- const std::string& debug_name);
-
- private:
- ContextProviderInProcess(
- std::unique_ptr<gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl>
- context3d,
- const std::string& debug_name);
- ~ContextProviderInProcess() override;
-
- // cc_blink::ContextProviderWebContext:
- blink::WebGraphicsContext3D* WebContext3D() override;
-
- // cc::ContextProvider:
- bool BindToCurrentThread() override;
- void DetachFromThread() override;
- Capabilities ContextCapabilities() override;
- ::gpu::gles2::GLES2Interface* ContextGL() override;
- ::gpu::ContextSupport* ContextSupport() override;
- class GrContext* GrContext() override;
- void InvalidateGrContext(uint32_t state) override;
- void SetupLock() override;
- base::Lock* GetLock() override;
- void DeleteCachedResources() override;
- void SetLostContextCallback(
- const LostContextCallback& lost_context_callback) override;
-
- void OnLostContext();
- void InitializeCapabilities();
-
- base::ThreadChecker main_thread_checker_;
- base::ThreadChecker context_thread_checker_;
-
- std::unique_ptr<gpu_blink::WebGraphicsContext3DInProcessCommandBufferImpl>
- context3d_;
- std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
-
- LostContextCallback lost_context_callback_;
-
- base::Lock context_lock_;
- std::string debug_name_;
- class LostContextCallbackProxy;
- std::unique_ptr<LostContextCallbackProxy> lost_context_callback_proxy_;
-
- cc::ContextProvider::Capabilities capabilities_;
-
- DISALLOW_COPY_AND_ASSIGN(ContextProviderInProcess);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_CONTEXT_PROVIDER_IN_PROCESS_H_
« no previous file with comments | « no previous file | content/browser/android/in_process/context_provider_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698