Add missing virtual methods in PlatformView (flutter/engine#3867)

This commit is contained in:
Carlo Bernaschina
2017-07-12 13:06:02 -07:00
committed by Ryan Macnak
parent dc20dc0cec
commit c9286a9e4d
5 changed files with 6 additions and 4 deletions

View File

@@ -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);

View File

@@ -28,7 +28,7 @@ class PlatformViewAndroid : public PlatformView {
~PlatformViewAndroid() override;
void Attach();
virtual void Attach() override;
void Detach();

View File

@@ -21,7 +21,7 @@ class PlatformViewMac : public PlatformView, public GPUSurfaceGLDelegate {
~PlatformViewMac() override;
void Attach();
virtual void Attach() override;
void SetupAndLoadDart();

View File

@@ -25,7 +25,7 @@ class PlatformViewIOS : public PlatformView {
~PlatformViewIOS() override;
void Attach();
virtual void Attach() override;
void NotifyCreated();

View File

@@ -19,7 +19,7 @@ class PlatformViewTest : public PlatformView {
~PlatformViewTest();
void Attach();
virtual void Attach() override;
bool ResourceContextMakeCurrent() override;