parent
b6aae790cf
commit
6b4b7c9831
8 changed files with 26 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue