Skip to content

Commit

Permalink
Add extra origin comments, remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidokert committed Jan 14, 2025
1 parent 2d05db2 commit 10ad3b3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions cobalt/android/shell_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ void JNI_ShellManager_LaunchShell(JNIEnv* env,
content::ShellBrowserContext* browserContext =
content::ShellContentBrowserClient::Get()->browser_context();
GURL url(base::android::ConvertJavaStringToUTF8(env, jurl));

// Cobalt specific shell creation
cobalt::CobaltShell::CreateNewWindow(browserContext, url, nullptr,
gfx::Size());
}
Expand Down
3 changes: 0 additions & 3 deletions cobalt/android/shell_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ void RemoveShellView(const base::android::JavaRef<jobject>& shell_view);
} // namespace cobalt
namespace content {

void ShellAttachLayer(cc::Layer* layer);
void ShellRemoveLayer(cc::Layer* layer);

// Destroys the ShellManager on app exit. Must not use the above functions
// after this is called.
void DestroyShellManager();
Expand Down
3 changes: 3 additions & 0 deletions cobalt/android/shell_platform_delegate_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ using base::android::ConvertUTF8ToJavaString;
using base::android::JavaParamRef;
using base::android::ScopedJavaLocalRef;

// Note: Origin of this file is
// content/shell/browser/shell_platform_delegate_android.cc from m114

namespace content {

struct ShellPlatformDelegate::ShellData {
Expand Down

0 comments on commit 10ad3b3

Please sign in to comment.