#include "base/memory/scoped_refptr.h"
#include "base/notreached.h"
#include "services/suspend_resume/public/cpp/suspend_resume.h"
+#include "tizen_src/chromium_impl/build/tizen_version.h"
#include "ui/aura/window_tree_host_platform.h"
#include "ui/base/clipboard/clipboard_helper_efl.h"
#include "ui/base/cursor/platform_cursor.h"
}
if (type_ == PlatformWindowType::kWindow) {
+#if TIZEN_VERSION_AT_LEAST(7, 0, 0)
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableChrome)) {
auto notification_callback = [](void* user_data, Ecore_Wl2_Window* win,
ecore_wl2_window_visibility_callback_set(wl_window_,
notification_callback, nullptr);
}
+#endif // TIZEN_VERSION_AT_LEAST(7, 0, 0)
#if defined(TIZEN_VIDEO_HOLE)
// Hand a window handle to enable video hole in OnscreenRendering mode.