summaryrefslogtreecommitdiff
path: root/chromium/ui/accessibility/ax_mode_observer.h
blob: f517c36d7bbef5893907f7ed57d2eafc207277dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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 UI_ACCESSIBILITY_PLATFORM_AX_MODE_OBSERVER_H_
#define UI_ACCESSIBILITY_PLATFORM_AX_MODE_OBSERVER_H_

#include "ui/accessibility/ax_export.h"
#include "ui/accessibility/ax_modes.h"

namespace ui {

class AX_EXPORT AXModeObserver {
 public:
  virtual ~AXModeObserver() {}

  // Notifies when accessibility mode changes.
  virtual void OnAXModeAdded(ui::AXMode mode) = 0;
};

}  // namespace ui

#endif  // UI_ACCESSIBILITY_PLATFORM_AX_MODE_OBSERVER_H_