#include "electron/shell/common/options_switches.h"
#include "tizen_src/chromium_impl/efl/window_factory.h"
#include "tizen_src/chromium_impl/tizen/system_info.h"
+#include "ui/compositor/compositor_observer_efl.h"
#include "ui/display/screen.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
EWebAccessibilityUtil::GetInstance()->SetEWebAccessibility(
wrt_accessibility_.get());
#endif
+ if (!use_onscreen_rendering) {
+ compositor_observer_ = std::make_unique<ui::CompositorObserverEfl>(
+ host->compositor(), web_contents_);
+ }
}
content::WebContents* WRTNativeWindow::GetWebContents() {
} // namespace content
+namespace ui {
+class CompositorObserver;
+}
+
class EWebAccessibility;
typedef struct _Ecore_Evas Ecore_Evas;
typedef struct _Eo_Opaque Evas_Object;
#if !defined(WRT_JS_BRINGUP)
std::unique_ptr<EWebAccessibility> wrt_accessibility_;
#endif
+ std::unique_ptr<ui::CompositorObserver> compositor_observer_;
};
} // namespace wrt