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

Unified Diff: third_party/WebKit/Source/web/PageOverlay.h

Issue 1497873002: Make DisplayItemClient an interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years 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
Index: third_party/WebKit/Source/web/PageOverlay.h
diff --git a/third_party/WebKit/Source/web/PageOverlay.h b/third_party/WebKit/Source/web/PageOverlay.h
index 87f772f2afaa5e5300932f94350bc0719f372713..c1a021b348d3dac8e8698c5c01391c494ce8bd15 100644
--- a/third_party/WebKit/Source/web/PageOverlay.h
+++ b/third_party/WebKit/Source/web/PageOverlay.h
@@ -47,7 +47,7 @@ class WebViewImpl;
//
// With Slimming Paint, internal clients can extract a GraphicsContext to add
// to the PaintController owned by the GraphicsLayer
-class PageOverlay : public GraphicsLayerClient {
+class PageOverlay : public GraphicsLayerClient, public DisplayItemClient {
public:
class Delegate : public GarbageCollectedFinalized<Delegate> {
public:
@@ -65,8 +65,7 @@ public:
void update();
GraphicsLayer* graphicsLayer() const { return m_layer.get(); }
- DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
- String debugName() const { return "PageOverlay"; }
+ String debugName() const final { return "PageOverlay"; }
// GraphicsLayerClient implementation
IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const override;
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h ('k') | third_party/WebKit/Source/web/WebFontImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698