Fix chromium-style errors (#12802)
This commit is contained in:
parent
5ba9f6a966
commit
cdc5022305
3 changed files with 4 additions and 4 deletions
|
@ -44,13 +44,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)onScreenLocked:(NSNotification*)notification {
|
- (void)onScreenLocked:(NSNotification*)notification {
|
||||||
for (auto& emitter : self->emitters) {
|
for (auto*& emitter : self->emitters) {
|
||||||
emitter->Emit("lock-screen");
|
emitter->Emit("lock-screen");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)onScreenUnlocked:(NSNotification*)notification {
|
- (void)onScreenUnlocked:(NSNotification*)notification {
|
||||||
for (auto& emitter : self->emitters) {
|
for (auto*& emitter : self->emitters) {
|
||||||
emitter->Emit("unlock-screen");
|
emitter->Emit("unlock-screen");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ class NativeWindowViews;
|
||||||
class FramelessView : public views::NonClientFrameView {
|
class FramelessView : public views::NonClientFrameView {
|
||||||
public:
|
public:
|
||||||
FramelessView();
|
FramelessView();
|
||||||
virtual ~FramelessView();
|
~FramelessView() override;
|
||||||
|
|
||||||
virtual void Init(NativeWindowViews* window, views::Widget* frame);
|
virtual void Init(NativeWindowViews* window, views::Widget* frame);
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ namespace atom {
|
||||||
class MenuModelAdapter : public views::MenuModelAdapter {
|
class MenuModelAdapter : public views::MenuModelAdapter {
|
||||||
public:
|
public:
|
||||||
explicit MenuModelAdapter(AtomMenuModel* menu_model);
|
explicit MenuModelAdapter(AtomMenuModel* menu_model);
|
||||||
virtual ~MenuModelAdapter();
|
~MenuModelAdapter() override;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool GetAccelerator(int id, ui::Accelerator* accelerator) const override;
|
bool GetAccelerator(int id, ui::Accelerator* accelerator) const override;
|
||||||
|
|
Loading…
Reference in a new issue