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

Unified Diff: cc/output/renderer.h

Issue 2254543003: cc: Delete the RendererClient class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setvisible-browser
Patch Set: deleterendererclient: rebase Created 4 years, 4 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/output/overlay_unittest.cc ('k') | cc/output/software_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/renderer.h
diff --git a/cc/output/renderer.h b/cc/output/renderer.h
index 15585d3a23126ab2ae384913ffbff838b66f7d58..8b8fd01c44dca737e54cd019c8921278af26d78a 100644
--- a/cc/output/renderer.h
+++ b/cc/output/renderer.h
@@ -49,11 +49,6 @@ struct RendererCapabilitiesImpl {
RendererCapabilities MainThreadCapabilities() const;
};
-class CC_EXPORT RendererClient {
- public:
- virtual void SetFullRootLayerDamage() = 0;
-};
-
class CC_EXPORT Renderer {
public:
virtual ~Renderer() {}
@@ -83,12 +78,11 @@ class CC_EXPORT Renderer {
void SetVisible(bool visible);
protected:
- Renderer(RendererClient* client, const RendererSettings* settings)
- : client_(client), settings_(settings), visible_(false) {}
+ explicit Renderer(const RendererSettings* settings)
+ : settings_(settings), visible_(false) {}
- virtual void DidChangeVisibility() = 0;
+ virtual void DidChangeVisibility() {}
- RendererClient* client_;
const RendererSettings* settings_;
bool visible_;
« no previous file with comments | « cc/output/overlay_unittest.cc ('k') | cc/output/software_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698