1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ash / accessibility / accessibility_controller_test_api_impl.h [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_ACCESSIBILITY_ACCESSIBILITY_CONTROLLER_TEST_API_IMPL_H_
#define ASH_ACCESSIBILITY_ACCESSIBILITY_CONTROLLER_TEST_API_IMPL_H_
#include "ash/public/cpp/test/accessibility_controller_test_api.h"
#include "base/functional/callback_forward.h"
namespace ash {
// Implementation of AccessibilityControllerTestApi.
class AccessibilityControllerTestApiImpl
: public AccessibilityControllerTestApi {
public:
AccessibilityControllerTestApiImpl();
AccessibilityControllerTestApiImpl(
const AccessibilityControllerTestApiImpl&) = delete;
AccessibilityControllerTestApiImpl& operator=(
const AccessibilityControllerTestApiImpl&) = delete;
~AccessibilityControllerTestApiImpl() override;
// AccessibilityControllerTestApi:
void SetLargeCursorEnabled(bool enabled) override;
bool IsLargeCursorEnabled() const override;
int GetDictationSodaDownloadProgress() const override;
bool IsDictationKeboardDialogShowing() const override;
void AcceptDictationKeyboardDialog() override;
void DismissDictationKeyboardDialog() override;
void AddShowToastCallbackForTesting(
base::RepeatingCallback<void(AccessibilityToastType)> callback)
const override;
};
} // namespace ash
#endif // ASH_ACCESSIBILITY_ACCESSIBILITY_CONTROLLER_TEST_API_IMPL_H_