0

Remove unused APIs from ShellManager

Remove unused Layer attachment/detachment APIs from the Shell management
system. This includes:
- Removing forward declaration of cc::Layer
- Removing ShellAttachLayer() and ShellRemoveLayer() functions

These APIs are no longer needed as layer management is now handled
elsewhere in the system.

Bug: None
Change-Id: I7e161d7dbb70100b6e40c254b710d4f5adfbaf09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5952671
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Abhijeet Kandalkar <abhijeet@igalia.com>
Cr-Commit-Position: refs/heads/main@{#1372722}
This commit is contained in:
Abhijeet Kandalkar
2024-10-23 15:34:56 +00:00
committed by Chromium LUCI CQ
parent d84a13b958
commit dc45830c78

@ -12,10 +12,6 @@
class Shell;
namespace cc {
class Layer;
}
namespace content {
// Creates an Android specific shell view, which is our version of a shell
@ -27,9 +23,6 @@ base::android::ScopedJavaLocalRef<jobject> CreateShellView(Shell* shell);
// Removes a previously created shell view.
void RemoveShellView(const base::android::JavaRef<jobject>& shell_view);
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();