[M108 Migration][NativeControl] InputPicker Migration 20/287020/2
authorayush.k123 <ayush.k123@samsung.com>
Tue, 17 Jan 2023 03:59:53 +0000 (09:29 +0530)
committerAyush Kumar <ayush.k123@samsung.com>
Thu, 19 Jan 2023 05:19:05 +0000 (10:49 +0530)
commit196de70fcf647c674e1ef5e2123745286a69f4f2
tree4203c83b66e2b9ed59e7da559a066205734b1abe
parent6d30a22e404e60873f06d1c284c80ef899151588
[M108 Migration][NativeControl] InputPicker Migration

This patch includes below changes:

- Rename InputPicker.[h|cc] to input_picker.[h|cc].
- And rename inputpicker directory to input_picker too.
- Layout struct was changed to class and it take charge of
  creating layout and handling callbacks.
- Add static |CreateAndShow*| functions to create and
  show pickers instead of |show*Popup|.
- Integrate |*popupCallback| for date picker to reduce duplication.
- Use Android's ColorChooserUIController for color chooser
  implementation.

Reference: https://review.tizen.org/gerrit/274457/

Change-Id: Iaac7ace5541067b799fc8f6fb804d6de3dd86cf6
Signed-off-by: Ayush Kumar <ayush.k123@samsung.com>
18 files changed:
content/browser/web_contents/web_contents_impl.cc
content/browser/web_contents/web_contents_impl.h [changed mode: 0644->0755]
content/public/browser/web_contents.h [changed mode: 0644->0755]
third_party/blink/public/mojom/BUILD.gn
third_party/blink/renderer/core/html/forms/color_chooser_ui_controller.cc
third_party/blink/renderer/core/html/forms/color_chooser_ui_controller.h
third_party/blink/renderer/core/page/chrome_client_impl.cc
tizen_src/ewk/efl_integration/BUILD.gn [changed mode: 0644->0755]
tizen_src/ewk/efl_integration/browser/input_picker/color_chooser_efl.cc [moved from tizen_src/ewk/efl_integration/browser/inputpicker/color_chooser_efl.cc with 86% similarity]
tizen_src/ewk/efl_integration/browser/input_picker/color_chooser_efl.h [moved from tizen_src/ewk/efl_integration/browser/inputpicker/color_chooser_efl.h with 63% similarity]
tizen_src/ewk/efl_integration/browser/input_picker/input_picker.cc [new file with mode: 0644]
tizen_src/ewk/efl_integration/browser/input_picker/input_picker.h [new file with mode: 0644]
tizen_src/ewk/efl_integration/browser/inputpicker/InputPicker.cc [deleted file]
tizen_src/ewk/efl_integration/browser/inputpicker/InputPicker.h [deleted file]
tizen_src/ewk/efl_integration/eweb_view.cc
tizen_src/ewk/efl_integration/eweb_view.h [changed mode: 0644->0755]
tizen_src/ewk/efl_integration/resource/BUILD.gn
tizen_src/ewk/efl_integration/web_contents_delegate_efl.cc