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

Unified Diff: public/web/WebWidget.h

Issue 513723003: Add pixel readback to page popup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« public/web/WebPagePopup.h ('K') | « public/web/WebPagePopup.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebWidget.h
diff --git a/public/web/WebWidget.h b/public/web/WebWidget.h
index d0e12437890840de7d3f096cb11941719c0c1f65..ab1547cb006145193468567db2d49736b1e09905 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -50,6 +50,7 @@ class WebString;
struct WebPoint;
struct WebRenderingStats;
template <typename T> class WebVector;
+class WebPagePopup;
class WebWidget {
public:
@@ -249,6 +250,9 @@ public:
// content.
virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHITE */ }
+ // The currently open popup.
+ virtual WebPagePopup* popup() const { return 0; }
+
protected:
~WebWidget() { }
};
« public/web/WebPagePopup.h ('K') | « public/web/WebPagePopup.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698