-
Notifications
You must be signed in to change notification settings - Fork 122
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
H5vccPlatformService #4471
base: main
Are you sure you want to change the base?
H5vccPlatformService #4471
Conversation
mShellManager.launchShell(shellUrl); | ||
|
||
// Load an empty page to let shell create WebContents. | ||
mShellManager.launchShell(""); |
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.
Is there a more graceful way to do the init? You could add a TODO and leave the idea?
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.
This is the right way to do it. Alternatively, we will need to add code in content shell package here. https://source.chromium.org/chromium/chromium/src/+/main:content/shell/browser/shell.cc;l=230;drc=5d0194cbc9cddc2ad096da32f16d7d1eac5d4a34
@@ -14,16 +14,20 @@ | |||
|
|||
package dev.cobalt.coat; | |||
|
|||
import static dev.cobalt.util.Log.TAG; | |||
// import static dev.cobalt.util.Log.TAG; |
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.
Are we able to remove these commented code?
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.
We could, but I prefer leave it here, because it is needed for platform service asynchronize response, I will uncomment it in the next PR.
This PR contains a few critical changes.
b/379731250
b/379184982
b/378571210