Coding style fixes

This commit is contained in:
Cheng Zhao 2017-05-31 16:17:29 +09:00
parent 227a2bd5dc
commit 5fa2831756
7 changed files with 23 additions and 33 deletions

View file

@ -32,7 +32,7 @@ class Notification : public mate::TrackableObject<Notification>,
// NotificationDelegate:
void NotificationClick() override;
void NotificationReplied(const std::string reply) override;
void NotificationReplied(const std::string& reply) override;
void NotificationDisplayed() override;
void NotificationDestroyed() override;
void NotificationClosed() override;
@ -43,7 +43,6 @@ class Notification : public mate::TrackableObject<Notification>,
mate::Arguments* args);
~Notification() override;
void OnInitialProps();
void Show();
// Prop Getters
@ -69,6 +68,7 @@ class Notification : public mate::TrackableObject<Notification>,
bool silent_ = false;
base::string16 reply_placeholder_;
bool has_reply_ = false;
brightray::NotificationPresenter* presenter_;
base::WeakPtr<brightray::Notification> notification_;