Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / extensions / api / braille_display_private / stub_braille_controller.h
blobe1e79d03418989f08ef31acb4642a051be7e0a45
1 // Copyright 2013 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.
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_
8 #include "chrome/browser/extensions/api/braille_display_private/braille_controller.h"
10 namespace extensions {
11 namespace api {
12 namespace braille_display_private {
14 // Stub implementation for the BrailleController interface.
15 class StubBrailleController : public BrailleController {
16 public:
17 StubBrailleController();
18 scoped_ptr<DisplayState> GetDisplayState() override;
19 void WriteDots(const std::vector<char>& cells) override;
20 void AddObserver(BrailleObserver* observer) override;
21 void RemoveObserver(BrailleObserver* observer) override;
24 } // namespace braille_display_private
25 } // namespace api
26 } // namespace extensions
28 #endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_