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

Unified Diff: public/web/WebPageOverlay.h

Issue 867063004: [Slimming Paint] Paint the inspector overlay with GraphicsLayer DisplayList. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
« public/web/WebGraphicsContext.h ('K') | « public/web/WebGraphicsContext.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebPageOverlay.h
diff --git a/public/web/WebPageOverlay.h b/public/web/WebPageOverlay.h
index 397ddd5e057525daa9f0d5f44284543d3d861f39..62a3c35f303e76dba6ac4a4b4a2833782fc77668 100644
--- a/public/web/WebPageOverlay.h
+++ b/public/web/WebPageOverlay.h
@@ -29,15 +29,23 @@
#ifndef WebPageOverlay_h
#define WebPageOverlay_h
-#include "../platform/WebCanvas.h"
-#include "../platform/WebRect.h"
+#include "public/platform/WebCanvas.h"
+#include "public/platform/WebCommon.h"
namespace blink {
-class WebPageOverlay {
+class WebGraphicsContext;
+struct WebSize;
+
+class BLINK_EXPORT WebPageOverlay {
public:
// Paints page overlay contents.
- virtual void paintPageOverlay(WebCanvas*) = 0;
+ // FIXME: Once Chromium no longer uses the WebCanvas* overload:
+ // - remove it
+ // - make the WebGraphicsContext* overload pure virtual
+ // - remove the BLINK_EXPORT tag from this class
+ virtual void paintPageOverlay(WebGraphicsContext*, const WebSize& webViewSize);
+ virtual void paintPageOverlay(WebCanvas*);
protected:
virtual ~WebPageOverlay() { }
« public/web/WebGraphicsContext.h ('K') | « public/web/WebGraphicsContext.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698