summaryrefslogtreecommitdiffstats
path: root/ash/keyboard_controller_proxy_stub.h
blob: 25310d716012678fc6c4b05fef83e1b973ec0969 (plain)
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
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_
#define ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_

#include "ash/ash_export.h"
#include "ui/keyboard/keyboard_controller_proxy.h"

namespace ash {

// Stub implementation of KeyboardControllerProxy
class ASH_EXPORT KeyboardControllerProxyStub
    : public keyboard::KeyboardControllerProxy {
 public:
  KeyboardControllerProxyStub();
  virtual ~KeyboardControllerProxyStub();

 private:
  // Overridden from keyboard::KeyboardControllerProxy:
  virtual content::BrowserContext* GetBrowserContext() OVERRIDE;
  virtual ui::InputMethod* GetInputMethod() OVERRIDE;
  virtual void RequestAudioInput(content::WebContents* web_contents,
      const content::MediaStreamRequest& request,
      const content::MediaResponseCallback& callback) OVERRIDE;

  DISALLOW_COPY_AND_ASSIGN(KeyboardControllerProxyStub);
};

}  // namespace ash

#endif  // ASH_KEYBOARD_CONTROLLER_PROXY_STUB_H_