Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.h

Issue 348293002: Do not consume Alt-Shift-Up event for IME switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
7 7
8 #include "chrome/browser/chromeos/input_method/input_method_util.h" 8 #include "chrome/browser/chromeos/input_method/input_method_util.h"
9 #include "chromeos/ime/component_extension_ime_manager.h" 9 #include "chromeos/ime/component_extension_ime_manager.h"
10 #include "chromeos/ime/fake_ime_keyboard.h" 10 #include "chromeos/ime/fake_ime_keyboard.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual void AddInputMethodExtension( 49 virtual void AddInputMethodExtension(
50 const std::string& id, 50 const std::string& id,
51 InputMethodEngineInterface* instance) OVERRIDE; 51 InputMethodEngineInterface* instance) OVERRIDE;
52 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; 52 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE;
53 virtual void GetInputMethodExtensions( 53 virtual void GetInputMethodExtensions(
54 InputMethodDescriptors* result) OVERRIDE; 54 InputMethodDescriptors* result) OVERRIDE;
55 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; 55 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE;
56 virtual void SetInputMethodLoginDefault() OVERRIDE; 56 virtual void SetInputMethodLoginDefault() OVERRIDE;
57 virtual void SetInputMethodLoginDefaultFromVPD( 57 virtual void SetInputMethodLoginDefaultFromVPD(
58 const std::string& locale, const std::string& layout) OVERRIDE; 58 const std::string& locale, const std::string& layout) OVERRIDE;
59 virtual bool SwitchToNextInputMethod() OVERRIDE; 59 virtual void SwitchToNextInputMethod() OVERRIDE;
60 virtual bool SwitchToPreviousInputMethod( 60 virtual bool SwitchToPreviousInputMethod(
61 const ui::Accelerator& accelerator) OVERRIDE; 61 const ui::Accelerator& accelerator) OVERRIDE;
62 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; 62 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE;
63 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; 63 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE;
64 virtual bool IsISOLevel5ShiftUsedByCurrentInputMethod() const OVERRIDE; 64 virtual bool IsISOLevel5ShiftUsedByCurrentInputMethod() const OVERRIDE;
65 virtual bool IsAltGrUsedByCurrentInputMethod() const OVERRIDE; 65 virtual bool IsAltGrUsedByCurrentInputMethod() const OVERRIDE;
66 virtual ImeKeyboard* GetImeKeyboard() OVERRIDE; 66 virtual ImeKeyboard* GetImeKeyboard() OVERRIDE;
67 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; 67 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE;
68 virtual ComponentExtensionIMEManager* 68 virtual ComponentExtensionIMEManager*
69 GetComponentExtensionIMEManager() OVERRIDE; 69 GetComponentExtensionIMEManager() OVERRIDE;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // The active input method ids cache (actually default only) 103 // The active input method ids cache (actually default only)
104 std::vector<std::string> active_input_method_ids_; 104 std::vector<std::string> active_input_method_ids_;
105 105
106 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); 106 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
107 }; 107 };
108 108
109 } // namespace input_method 109 } // namespace input_method
110 } // namespace chromeos 110 } // namespace chromeos
111 111
112 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 112 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698