blob: 5a1aeea72235cfb91db8564f966811f79982a768 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_PUBLIC_CPP_SYSTEM_TRAY_FOCUS_OBSERVER_H_
#define ASH_PUBLIC_CPP_SYSTEM_TRAY_FOCUS_OBSERVER_H_
#include "ash/public/cpp/ash_public_export.h"
#include "base/macros.h"
namespace ash {
// A class that observes system tray related focus events.
class ASH_PUBLIC_EXPORT SystemTrayFocusObserver {
public:
// Called when focus is about to leave system tray.
virtual void OnFocusLeavingSystemTray(bool reverse) = 0;
protected:
virtual ~SystemTrayFocusObserver() = default;
};
} // namespace ash
#endif // ASH_PUBLIC_CPP_SYSTEM_TRAY_FOCUS_OBSERVER_H_