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

Unified Diff: cc/output/context_provider.h

Issue 1324413003: Move gpu memory calculations to Compositor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove more redundant code. Created 5 years, 3 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 | cc/output/output_surface.cc » ('j') | cc/output/output_surface_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/context_provider.h
diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h
index c024e02328e9a3930b7593e54b986bdff3566ae5..7c972464bcef2044945bde02bf47b6cd66dd0f8b 100644
--- a/cc/output/context_provider.h
+++ b/cc/output/context_provider.h
@@ -100,13 +100,6 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
virtual void SetLostContextCallback(
const LostContextCallback& lost_context_callback) = 0;
- // Sets a callback to be called when the memory policy changes. This should be
- // called from the same thread that the context is bound to.
- typedef base::Callback<void(const ManagedMemoryPolicy& policy)>
- MemoryPolicyChangedCallback;
- virtual void SetMemoryPolicyChangedCallback(
- const MemoryPolicyChangedCallback& memory_policy_changed_callback) = 0;
-
protected:
friend class base::RefCountedThreadSafe<ContextProvider>;
virtual ~ContextProvider() {}
« no previous file with comments | « no previous file | cc/output/output_surface.cc » ('j') | cc/output/output_surface_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698