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

Unified Diff: Source/web/WebPopupMenuImpl.h

Issue 513723003: Add pixel readback to page popup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed 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
Index: Source/web/WebPopupMenuImpl.h
diff --git a/Source/web/WebPopupMenuImpl.h b/Source/web/WebPopupMenuImpl.h
index c47e3bf30868df3ee4568937f55bbe1ff54793fe..4454235c907ff8cb7ed31f1bc0da331aa91c6691 100644
--- a/Source/web/WebPopupMenuImpl.h
+++ b/Source/web/WebPopupMenuImpl.h
@@ -86,6 +86,7 @@ public:
virtual bool isAcceleratedCompositingActive() const OVERRIDE FINAL { return false; }
virtual bool isPopupMenu() const OVERRIDE FINAL { return true; }
virtual void willCloseLayerTreeView() OVERRIDE FINAL;
+ virtual WebWidgetClient* client() const OVERRIDE FINAL { return m_client; }
// WebContentLayerClient
virtual void paintContents(WebCanvas*, const WebRect& clip, bool canPaintLCDTest, WebFloatRect& opaque,
@@ -94,8 +95,6 @@ public:
// WebPopupMenuImpl
void initialize(FramelessScrollView* widget, const WebRect& bounds);
- WebWidgetClient* client() { return m_client; }
-
void handleMouseMove(const WebMouseEvent&);
void handleMouseLeave(const WebMouseEvent&);
void handleMouseDown(const WebMouseEvent&);

Powered by Google App Engine
This is Rietveld 408576698