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

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: Added WebPagePopup::positionRelativeToOwner Created 6 years, 3 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 | « 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 149e98356e253b38acd64e09c1e2971084011947..5a7a80234b8aa97843930d54bc3711b4ab65a968 100644
--- a/public/web/WebWidget.h
+++ b/public/web/WebWidget.h
@@ -33,6 +33,7 @@
#include "../platform/WebCanvas.h"
#include "../platform/WebCommon.h"
+#include "../platform/WebPoint.h"
#include "../platform/WebRect.h"
#include "../platform/WebSize.h"
#include "WebBeginFrameArgs.h"
@@ -46,7 +47,9 @@ class WebCompositeAndReadbackAsyncCallback;
class WebInputEvent;
class WebLayerTreeView;
class WebMouseEvent;
+class WebPagePopup;
class WebString;
+class WebWidgetClient;
struct WebPoint;
struct WebRenderingStats;
template <typename T> class WebVector;
@@ -255,6 +258,10 @@ public:
// content.
virtual WebColor backgroundColor() const { return 0xFFFFFFFF; /* SK_ColorWHITE */ }
+ // The currently open page popup, which are calendar and datalist pickers
+ // but not the select popup.
+ virtual WebPagePopup* pagePopup() const { return 0; }
+
protected:
~WebWidget() { }
};
« no previous file with comments | « public/web/WebPagePopup.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698