Merge "[Tizen][AT-SPI] Rework intercepting key events" into tizen
[platform/core/uifw/dali-adaptor.git] / dali / internal / accessibility / bridge / dummy / dummy-atspi.h
index 12ab7c6..a5ed289 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_ADAPTOR_DUMMY_ATSPI_H
 
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -77,6 +77,10 @@ struct DummyBridge : Dali::Accessibility::Bridge
     return nullptr;
   }
 
+  void WindowCreated(Window window) override
+  {
+  }
+
   void WindowShown(Window window) override
   {
   }
@@ -93,6 +97,18 @@ struct DummyBridge : Dali::Accessibility::Bridge
   {
   }
 
+  void WindowMinimized(Window window) override
+  {
+  }
+
+  void WindowRestored(Window window, WindowRestoreType detail) override
+  {
+  }
+
+  void WindowMaximized(Window window) override
+  {
+  }
+
   void Initialize() override
   {
   }
@@ -130,6 +146,14 @@ struct DummyBridge : Dali::Accessibility::Bridge
   {
   }
 
+  void EmitScrollStarted(Accessibility::Accessible* obj) override
+  {
+  }
+
+  void EmitScrollFinished(Accessibility::Accessible* obj) override
+  {
+  }
+
   void EmitStateChanged(Accessibility::Accessible* obj, Accessibility::State state, int newValue, int reserved) override
   {
   }
@@ -146,9 +170,13 @@ struct DummyBridge : Dali::Accessibility::Bridge
   {
   }
 
-  Accessibility::Consumed Emit(Accessibility::KeyEventType type, unsigned int keyCode, const std::string& keyName, unsigned int timeStamp, bool isText) override
+  void EmitPostRender(Accessibility::Accessible *obj) override
   {
-    return Accessibility::Consumed::YES;
+  }
+
+  bool EmitKeyEvent(Dali::KeyEvent keyEvent, std::function<void(Dali::KeyEvent, bool)> callback) override
+  {
+    return false;
   }
 
   void Say(const std::string& text, bool discardable, std::function<void(std::string)> callback) override