Home | History | Annotate | Download | only in braille_display_private
      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.
      4 
      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_
      7 
      8 #include "chrome/browser/extensions/api/braille_display_private/braille_controller.h"
      9 
     10 namespace extensions {
     11 namespace api {
     12 namespace braille_display_private {
     13 
     14 // Stub implementation for the BrailleController interface.
     15 class StubBrailleController : public BrailleController {
     16  public:
     17   StubBrailleController();
     18   virtual scoped_ptr<DisplayState> GetDisplayState() OVERRIDE;
     19   virtual void WriteDots(const std::string& cells) OVERRIDE;
     20   virtual void AddObserver(BrailleObserver* observer) OVERRIDE;
     21   virtual void RemoveObserver(BrailleObserver* observer) OVERRIDE;
     22 };
     23 
     24 }  // namespace braille_display_private
     25 }  // namespace api
     26 }  // namespace extensions
     27 
     28 #endif  // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_
     29