-
Notifications
You must be signed in to change notification settings - Fork 51
[webview_flutter] Clean up debug code & Organize source #156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'd appreciate if you could share the upstream commit you referenced. |
Did you just change the code order without actual changes? I think you can split the code into a couple of files if they are from different files. FYI) Here is the class hierarchy I analyzed before: #54 (review) |
Here is Information what you requested
|
I guess It's a good way. I will separate it with its original file. |
Signed-off-by: MuHong Byun <[email protected]>
* webview_flutter_tizen.dart : webview part * platform_view.dart : platform view part imported without modification * platform_view_tizen.dart : custom platform view part Signed-off-by: MuHong Byun <[email protected]>
4feff0e
to
89d52fd
Compare
I tried to divide by file.. but I thought it was too small, so I just divided the |
Signed-off-by: MuHong Byun <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
part of 'webview_flutter_tizen.dart'; | ||
|
||
/// How an embedded platform view behave during hit tests. | ||
enum PlatformViewHitTestBehavior { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PlatformViewHitTestBehavior
enum is already public so I think you don't have to copy it from the framework.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! Thanks!! 👍
Signed-off-by: MuHong Byun <[email protected]>
one more things, how about moving implementation code into src dir |
@bbrto21 You're right! thanks!!! 👏 |
This is a simple code cleanup to better adapt upstream.