refactor: move WebFrameRenderer into an anonymous namespace (#42369)

This commit is contained in:
Charles Kerr 2024-06-05 18:31:52 -05:00 committed by GitHub
parent 7569d90f59
commit 791907f0f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,8 +327,6 @@ class SpellCheckerHolder final : private content::RenderFrameObserver {
std::unique_ptr<SpellCheckClient> spell_check_client_;
};
} // namespace
class WebFrameRenderer : public gin::Wrappable<WebFrameRenderer>,
private content::RenderFrameObserver {
public:
@ -902,6 +900,7 @@ class WebFrameRenderer : public gin::Wrappable<WebFrameRenderer>,
return render_frame->GetRoutingID();
}
};
} // namespace
gin::WrapperInfo WebFrameRenderer::kWrapperInfo = {gin::kEmbedderNativeGin};