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

@ -13,7 +13,7 @@
#include "shell/browser/api/views/atom_api_layout_manager.h"
#include "ui/views/view.h"
namespace atom {
namespace electron {
namespace api {
@ -52,7 +52,7 @@ class View : public mate::TrackableObject<View> {
} // namespace api
} // namespace atom
} // namespace electron
namespace mate {
@ -61,8 +61,8 @@ struct Converter<views::View*> {
static bool FromV8(v8::Isolate* isolate,
v8::Local<v8::Value> val,
views::View** out) {
atom::api::View* view;
if (!Converter<atom::api::View*>::FromV8(isolate, val, &view))
electron::api::View* view;
if (!Converter<electron::api::View*>::FromV8(isolate, val, &view))
return false;
*out = view->view();
return true;