chore: make BrowserObserver a CheckedObserver

refs: 1053338
This commit is contained in:
Samuel Attard 2018-10-25 17:43:50 +11:00 committed by deepak1556
parent b6aae790cf
commit 6b4b7c9831
8 changed files with 26 additions and 14 deletions

View file

@ -8,6 +8,8 @@
#include <string>
#include <vector>
#include "base/observer_list_types.h"
namespace gfx {
class Rect;
class Point;
@ -15,7 +17,7 @@ class Point;
namespace atom {
class TrayIconObserver {
class TrayIconObserver : public base::CheckedObserver {
public:
virtual void OnClicked(const gfx::Rect& bounds,
const gfx::Point& location,
@ -36,7 +38,7 @@ class TrayIconObserver {
virtual void OnMouseMoved(const gfx::Point& location, int modifiers) {}
protected:
virtual ~TrayIconObserver() {}
~TrayIconObserver() override {}
};
} // namespace atom