chore: used nested namespaces (#34737)
This commit is contained in:
parent
0d4e417594
commit
5d120359f6
122 changed files with 246 additions and 738 deletions
|
@ -6,9 +6,7 @@
|
|||
#include "shell/common/api/electron_api_clipboard.h"
|
||||
#include "ui/base/cocoa/find_pasteboard.h"
|
||||
|
||||
namespace electron {
|
||||
|
||||
namespace api {
|
||||
namespace electron::api {
|
||||
|
||||
void Clipboard::WriteFindText(const std::u16string& text) {
|
||||
NSString* text_ns = base::SysUTF16ToNSString(text);
|
||||
|
@ -19,6 +17,4 @@ std::u16string Clipboard::ReadFindText() {
|
|||
return GetFindPboardText();
|
||||
}
|
||||
|
||||
} // namespace api
|
||||
|
||||
} // namespace electron
|
||||
} // namespace electron::api
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue