[M108 Migration] Segregate InputPicker into ewk independent base classes
[platform/framework/web/chromium-efl.git] / tizen_src / ewk / efl_integration / browser / input_picker / input_picker.h
1 // Copyright 2014 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.
4
5 #ifndef EWK_EFL_INTEGRATION_BROWSER_INPUT_PICKER_INPUT_PICKER_H_
6 #define EWK_EFL_INTEGRATION_BROWSER_INPUT_PICKER_INPUT_PICKER_H_
7
8 #include "content/browser/input_picker/input_picker_base.h"
9
10 class EWebView;
11
12 namespace content {
13
14 class InputPicker : public InputPickerBase {
15  public:
16   explicit InputPicker(
17       EWebView* view,
18       content::WebContents* web_contents,
19       Evas_Object* evas_object,
20       content::DateTimeChooserEfl* date_time_chooser = nullptr);
21   virtual ~InputPicker() override = default;
22
23   InputPicker(const InputPicker&) = delete;
24   InputPicker& operator=(const InputPicker&) = delete;
25
26  private:
27   // InputPickerBase
28   void ExecuteEditCommand(const char*, const char*) override;
29
30   EWebView* web_view_;
31 };
32
33 }  // namespace content
34
35 #endif  // EWK_EFL_INTEGRATION_BROWSER_INPUT_PICKER_INPUT_PICKER_H_