提交 354d90a9 编写于 作者: C Carlo Bernaschina 提交者: Ryan Macnak

Add missing virtual methods in PlatformView (#3867)

上级 8ba522ee
...@@ -37,6 +37,8 @@ class PlatformView : public std::enable_shared_from_this<PlatformView> { ...@@ -37,6 +37,8 @@ class PlatformView : public std::enable_shared_from_this<PlatformView> {
virtual ~PlatformView(); virtual ~PlatformView();
virtual void Attach() = 0;
void DispatchPlatformMessage(ftl::RefPtr<blink::PlatformMessage> message); void DispatchPlatformMessage(ftl::RefPtr<blink::PlatformMessage> message);
void DispatchSemanticsAction(int32_t id, blink::SemanticsAction action); void DispatchSemanticsAction(int32_t id, blink::SemanticsAction action);
void SetSemanticsEnabled(bool enabled); void SetSemanticsEnabled(bool enabled);
......
...@@ -28,7 +28,7 @@ class PlatformViewAndroid : public PlatformView { ...@@ -28,7 +28,7 @@ class PlatformViewAndroid : public PlatformView {
~PlatformViewAndroid() override; ~PlatformViewAndroid() override;
void Attach(); virtual void Attach() override;
void Detach(); void Detach();
......
...@@ -21,7 +21,7 @@ class PlatformViewMac : public PlatformView, public GPUSurfaceGLDelegate { ...@@ -21,7 +21,7 @@ class PlatformViewMac : public PlatformView, public GPUSurfaceGLDelegate {
~PlatformViewMac() override; ~PlatformViewMac() override;
void Attach(); virtual void Attach() override;
void SetupAndLoadDart(); void SetupAndLoadDart();
......
...@@ -25,7 +25,7 @@ class PlatformViewIOS : public PlatformView { ...@@ -25,7 +25,7 @@ class PlatformViewIOS : public PlatformView {
~PlatformViewIOS() override; ~PlatformViewIOS() override;
void Attach(); virtual void Attach() override;
void NotifyCreated(); void NotifyCreated();
......
...@@ -19,7 +19,7 @@ class PlatformViewTest : public PlatformView { ...@@ -19,7 +19,7 @@ class PlatformViewTest : public PlatformView {
~PlatformViewTest(); ~PlatformViewTest();
void Attach(); virtual void Attach() override;
bool ResourceContextMakeCurrent() override; bool ResourceContextMakeCurrent() override;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册