Add missing virtual methods in PlatformView (flutter/engine#3867)
This commit is contained in:
committed by
Ryan Macnak
parent
dc20dc0cec
commit
c9286a9e4d
@@ -37,6 +37,8 @@ class PlatformView : public std::enable_shared_from_this<PlatformView> {
|
||||
|
||||
virtual ~PlatformView();
|
||||
|
||||
virtual void Attach() = 0;
|
||||
|
||||
void DispatchPlatformMessage(ftl::RefPtr<blink::PlatformMessage> message);
|
||||
void DispatchSemanticsAction(int32_t id, blink::SemanticsAction action);
|
||||
void SetSemanticsEnabled(bool enabled);
|
||||
|
||||
@@ -28,7 +28,7 @@ class PlatformViewAndroid : public PlatformView {
|
||||
|
||||
~PlatformViewAndroid() override;
|
||||
|
||||
void Attach();
|
||||
virtual void Attach() override;
|
||||
|
||||
void Detach();
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ class PlatformViewMac : public PlatformView, public GPUSurfaceGLDelegate {
|
||||
|
||||
~PlatformViewMac() override;
|
||||
|
||||
void Attach();
|
||||
virtual void Attach() override;
|
||||
|
||||
void SetupAndLoadDart();
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ class PlatformViewIOS : public PlatformView {
|
||||
|
||||
~PlatformViewIOS() override;
|
||||
|
||||
void Attach();
|
||||
virtual void Attach() override;
|
||||
|
||||
void NotifyCreated();
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ class PlatformViewTest : public PlatformView {
|
||||
|
||||
~PlatformViewTest();
|
||||
|
||||
void Attach();
|
||||
virtual void Attach() override;
|
||||
|
||||
bool ResourceContextMakeCurrent() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user