#if ENABLE(TIZEN_SCREEN_READER)
ScreenReaderProxy::screenReader().disable(smartData->priv);
#endif
+#if ENABLE(TIZEN_INPUT_COLOR_PICKER)
+ // Close color picker if it's opened.
+ if (smartData && smartData->priv && smartData->priv->inputPicker->isColorPickerShown())
+ ewk_view_color_picker_color_set(ewkView, 0, 0, 0, 0);
+#endif
if (smartData && smartData->priv)
_ewk_view_impl_del(smartData->priv);
: m_ewkView(ewkView)
, m_pickerLayout(0)
, m_dataList(0)
+#if ENABLE(TIZEN_INPUT_COLOR_PICKER)
+ , m_isColorPickerShown(false)
+#endif
{
}
#if ENABLE(TIZEN_INPUT_COLOR_PICKER)
void InputPicker::showColorPicker(int r, int g, int b, int)
{
+ m_isColorPickerShown = true;
ewk_color_popup(r, g, b);
}
void InputPicker::hideColorPicker()
{
+ m_isColorPickerShown = false;
if (!m_pickerLayout)
return;
#if ENABLE(TIZEN_INPUT_COLOR_PICKER)
void showColorPicker(int, int, int, int);
void hideColorPicker();
+ bool isColorPickerShown() { return m_isColorPickerShown; }
#endif
void ewk_date_popup(const char*);
Evas_Object* m_ewkView;
Input_Picker_Layout* m_pickerLayout;
Eina_List* m_dataList;
+#if ENABLE(TIZEN_INPUT_COLOR_PICKER)
+ bool m_isColorPickerShown;
+#endif
};
} // namespace WebKit