| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index fe75efa439e4122e361ec150254cbce64f7698ea..d8e8d7a2ecf54953d6fc4b5f037bd5600b97da8a 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -113,6 +113,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"
|
| @@ -1561,6 +1562,11 @@ void WebViewImpl::closePagePopup(PagePopup* popup)
|
| m_pagePopup = nullptr;
|
| }
|
|
|
| +LocalDOMWindow* WebViewImpl::pagePopupWindow()
|
| +{
|
| + return m_pagePopup ? m_pagePopup->window() : nullptr;
|
| +}
|
| +
|
| Frame* WebViewImpl::focusedCoreFrame() const
|
| {
|
| return m_page ? m_page->focusController().focusedOrMainFrame() : 0;
|
| @@ -2483,6 +2489,11 @@ WebColor WebViewImpl::backgroundColor() const
|
| return view->documentBackgroundColor().rgb();
|
| }
|
|
|
| +WebPagePopup* WebViewImpl::popup() const
|
| +{
|
| + return m_pagePopup.get();
|
| +}
|
| +
|
| bool WebViewImpl::caretOrSelectionRange(size_t* location, size_t* length)
|
| {
|
| const LocalFrame* focused = toLocalFrame(focusedCoreFrame());
|
|
|