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

Unified Diff: Source/web/WebViewImpl.cpp

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 | « Source/web/WebViewImpl.h ('k') | public/web/WebPagePopup.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebViewImpl.cpp
diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
index b6aab0add60f54b0b88bb0136d36d162ae698a04..1f6a3b5da7e9d0151478ef620280453375a7fd70 100644
--- a/Source/web/WebViewImpl.cpp
+++ b/Source/web/WebViewImpl.cpp
@@ -116,6 +116,7 @@
#include "platform/scroll/ScrollbarTheme.h"
#include "platform/weborigin/SchemeRegistry.h"
#include "public/platform/Platform.h"
+#include "public/platform/WebCompositeAndReadbackAsyncCallback.h"
#include "public/platform/WebDragData.h"
#include "public/platform/WebFloatPoint.h"
#include "public/platform/WebGestureCurve.h"
@@ -2492,6 +2493,11 @@ WebColor WebViewImpl::backgroundColor() const
return view->documentBackgroundColor().rgb();
}
+WebPagePopup* WebViewImpl::pagePopup() const
+{
+ return m_pagePopup.get();
+}
+
bool WebViewImpl::caretOrSelectionRange(size_t* location, size_t* length)
{
const LocalFrame* focused = toLocalFrame(focusedCoreFrame());
« no previous file with comments | « Source/web/WebViewImpl.h ('k') | public/web/WebPagePopup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698