Isolate the code using content::WebContentsImpl

This commit is contained in:
Cheng Zhao 2018-03-20 10:25:51 +09:00 committed by Aleksei Kuzmin
parent a9cdd6614a
commit 2e94a730cc
4 changed files with 40 additions and 19 deletions

View file

@ -48,6 +48,10 @@ class AtomJavaScriptDialogManager;
class WebContentsZoomController;
class WebViewGuestDelegate;
#if defined(ENABLE_OSR)
class OffScreenWebContentsView;
#endif
namespace api {
// Certain events are only in WebContentsDelegate, provide our own Observer to
@ -393,6 +397,10 @@ class WebContents : public mate::TrackableObject<WebContents>,
return ++request_id_;
}
#if defined(ENABLE_OSR)
OffScreenWebContentsView* GetOffScreenWebContentsView() const;
#endif
// Called when we receive a CursorChange message from chromium.
void OnCursorChange(const content::WebCursor& cursor);