1 // Copyright 2019 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef BROWSER_WRT_INPUT_PICKER_H_
6 #define BROWSER_WRT_INPUT_PICKER_H_
8 #if defined(WRT_JS_BRINGUP)
9 #include "ui/base/ime/text_input_type.h"
10 typedef struct _Eo_Opaque Evas_Object;
13 class DateTimeChooserEfl;
16 class WRTInputPicker {
18 explicit WRTInputPicker(
19 content::WebContents* web_contents,
20 Evas_Object* evas_object,
21 content::DateTimeChooserEfl* date_time_chooser = nullptr) {}
22 void ShowColorPicker(int r, int g, int b, int a) {}
23 void ShowDatePicker(ui::TextInputType dialog_type, double dialog_value) {}
27 #include "tizen_src/chromium_impl/content/browser/input_picker/input_picker_base.h"
31 class WRTInputPicker : public content::InputPickerBase {
33 explicit WRTInputPicker(
34 content::WebContents* web_contents,
35 Evas_Object* evas_object,
36 content::DateTimeChooserEfl* date_time_chooser = nullptr);
37 virtual ~WRTInputPicker() = default;
40 // content::InputPickerBase
41 void ExecuteEditCommand(const char*, const char*) override;
42 Evas_Object* GetElmWindow() override;
43 Evas_Object* GetWebView() override;
45 content::WebContents* web_contents_;
51 #endif // BROWSER_WRT_INPUT_PICKER_H_