Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / chromeos / input_method / input_method_delegate_impl.h
blob556aad2e03ba7cf65b0715b0a806f6a45a21f8cd
1 // Copyright (c) 2012 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_CHROMEOS_INPUT_METHOD_INPUT_METHOD_DELEGATE_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_DELEGATE_IMPL_H_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h"
12 #include "chromeos/ime/input_method_delegate.h"
14 namespace chromeos {
15 namespace input_method {
17 // Accesses the hardware keyboard layout and application locale from the
18 // BrowserProcess.
19 class InputMethodDelegateImpl : public InputMethodDelegate {
20 public:
21 InputMethodDelegateImpl();
22 virtual ~InputMethodDelegateImpl();
24 // InputMethodDelegate implementation.
25 virtual std::string GetHardwareKeyboardLayouts() const OVERRIDE;
26 virtual base::string16 GetLocalizedString(int resource_id) const OVERRIDE;
27 virtual base::string16 GetDisplayLanguageName(
28 const std::string& language_code) const OVERRIDE;
29 virtual void SetHardwareKeyboardLayoutForTesting(
30 const std::string& layout) OVERRIDE;
32 private:
33 DISALLOW_COPY_AND_ASSIGN(InputMethodDelegateImpl);
36 } // namespace input_method
37 } // namespace chromeos
39 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_DELEGATE_IMPL_H_