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

Unified Diff: cc/surfaces/display_client.h

Issue 2036563002: Delete OnscreenDisplayClient and TopLevelDisplayClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: onscreendisplayclient: webview-scoped-allow-gl-for-hardwarerenderer-constructor Created 4 years, 6 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 | « cc/surfaces/display.cc ('k') | cc/surfaces/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display_client.h
diff --git a/cc/surfaces/display_client.h b/cc/surfaces/display_client.h
index bc455bb957b32c2c7c97ee3bdc7e033b10c7a759..8f7be8b9714cdb5cf826021f4ed94364daed5b91 100644
--- a/cc/surfaces/display_client.h
+++ b/cc/surfaces/display_client.h
@@ -5,22 +5,14 @@
#ifndef CC_SURFACES_DISPLAY_CLIENT_H_
#define CC_SURFACES_DISPLAY_CLIENT_H_
-#include <memory>
-
-#include "base/time/time.h"
-
namespace cc {
-
-class BeginFrameSource;
struct ManagedMemoryPolicy;
class DisplayClient {
public:
- virtual void OutputSurfaceLost() = 0;
- virtual void SetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
-
- protected:
virtual ~DisplayClient() {}
+ virtual void DisplayOutputSurfaceLost() = 0;
+ virtual void DisplaySetMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
};
} // namespace cc
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/surfaces/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698