11e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved. 21e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 31e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)// found in the LICENSE file. 41e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 51e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)#ifndef CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_ 61e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)#define CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_ 71e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 81e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)#include "chrome/browser/extensions/api/braille_display_private/braille_controller.h" 91e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 101e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)namespace extensions { 111e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)namespace api { 121e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)namespace braille_display_private { 131e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 141e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)// Stub implementation for the BrailleController interface. 151e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)class StubBrailleController : public BrailleController { 161e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) public: 171e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) StubBrailleController(); 181e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) virtual scoped_ptr<DisplayState> GetDisplayState() OVERRIDE; 191e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) virtual void WriteDots(const std::string& cells) OVERRIDE; 201e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) virtual void AddObserver(BrailleObserver* observer) OVERRIDE; 211e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) virtual void RemoveObserver(BrailleObserver* observer) OVERRIDE; 221e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)}; 231e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 241e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)} // namespace braille_display_private 251e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)} // namespace api 261e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)} // namespace extensions 271e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles) 281e9bf3e0803691d0a228da41fc608347b6db4340Torne (Richard Coles)#endif // CHROME_BROWSER_EXTENSIONS_API_BRAILLE_DISPLAY_PRIVATE_STUB_BRAILLE_CONTROLLER_H_ 29