Isolate the code using content::WebContentsImpl
This commit is contained in:
parent
a9cdd6614a
commit
2e94a730cc
4 changed files with 40 additions and 19 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue