dictation_nudge_controller.cc 733 B

1234567891011121314151617181920212223
  1. // Copyright 2021 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/accessibility/dictation_nudge_controller.h"
  5. #include "ash/accessibility/dictation_nudge.h"
  6. namespace ash {
  7. DictationNudgeController::DictationNudgeController(
  8. const std::string& dictation_locale,
  9. const std::string& application_locale)
  10. : dictation_locale_(dictation_locale),
  11. application_locale_(application_locale) {}
  12. DictationNudgeController::~DictationNudgeController() = default;
  13. std::unique_ptr<SystemNudge> DictationNudgeController::CreateSystemNudge() {
  14. return std::make_unique<DictationNudge>(this);
  15. }
  16. } // namespace ash