Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / extensions / api / virtual_keyboard_private / chrome_virtual_keyboard_delegate.h
blob70dcc4d49c8f84dc179213d3a3a92276c3add591
1 // Copyright 2014 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_VIRTUAL_KEYBOARD_PRIVATE_CHROME_VIRTUAL_KEYBOARD_DELEGATE_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_VIRTUAL_KEYBOARD_PRIVATE_CHROME_VIRTUAL_KEYBOARD_DELEGATE_H_
8 #include "base/compiler_specific.h"
9 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h"
11 namespace extensions {
13 class ChromeVirtualKeyboardDelegate : public VirtualKeyboardDelegate {
14 public:
15 ChromeVirtualKeyboardDelegate() {}
16 ~ChromeVirtualKeyboardDelegate() override {}
17 bool GetKeyboardConfig(base::DictionaryValue* settings) override;
18 bool HideKeyboard() override;
19 bool InsertText(const base::string16& text) override;
20 bool OnKeyboardLoaded() override;
21 void SetHotrodKeyboard(bool enable) override;
22 bool LockKeyboard(bool state) override;
23 bool SendKeyEvent(const std::string& type,
24 int char_value,
25 int key_code,
26 const std::string& key_name,
27 int modifiers) override;
28 bool ShowLanguageSettings() override;
29 bool IsLanguageSettingsEnabled() override;
30 bool SetVirtualKeyboardMode(int mode_enum) override;
31 bool SetRequestedKeyboardState(int state_enum) override;
33 private:
34 DISALLOW_COPY_AND_ASSIGN(ChromeVirtualKeyboardDelegate);
37 } // namespace extensions
39 #endif // CHROME_BROWSER_EXTENSIONS_API_VIRTUAL_KEYBOARD_PRIVATE_CHROME_VIRTUAL_KEYBOARD_DELEGATE_H_