refactor: rename the atom namespace to electron

This commit is contained in:
Samuel Attard 2019-06-19 14:23:04 -07:00 committed by Samuel Attard
parent 8c4496a9c9
commit 34c4c8d508
531 changed files with 1456 additions and 1428 deletions

View file

@ -28,7 +28,7 @@ class WebContentsViewRelay
explicit WebContentsViewRelay(content::WebContents* contents) {}
friend class content::WebContentsUserData<WebContentsViewRelay>;
atom::api::WebContentsView* view_ = nullptr;
electron::api::WebContentsView* view_ = nullptr;
WEB_CONTENTS_USER_DATA_KEY_DECL();
@ -39,7 +39,7 @@ WEB_CONTENTS_USER_DATA_KEY_IMPL(WebContentsViewRelay)
} // namespace
namespace atom {
namespace electron {
namespace api {
@ -112,11 +112,11 @@ void WebContentsView::BuildPrototype(
} // namespace api
} // namespace atom
} // namespace electron
namespace {
using atom::api::WebContentsView;
using electron::api::WebContentsView;
void Initialize(v8::Local<v8::Object> exports,
v8::Local<v8::Value> unused,