chore: used nested namespaces (#34737)

This commit is contained in:
David Sanders 2022-06-29 12:55:47 -07:00 committed by GitHub
parent 0d4e417594
commit 5d120359f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 246 additions and 738 deletions

View file

@ -15,9 +15,7 @@
- (void)redispatchKeyEvent:(NSEvent*)event;
@end
namespace electron {
namespace api {
namespace electron::api {
bool WebContents::IsFocused() const {
auto* view = web_contents()->GetRenderWidgetHostView();
@ -81,6 +79,4 @@ bool WebContents::PlatformHandleKeyboardEvent(
return false;
}
} // namespace api
} // namespace electron
} // namespace electron::api