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

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

Issue 23608003: Default keyboard layout should be set considering owners preference. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
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/fake_input_method_delegate.h" 9 #include "chromeos/ime/fake_input_method_delegate.h"
10 #include "chromeos/ime/input_method_manager.h" 10 #include "chromeos/ime/input_method_manager.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 const std::string& id, 51 const std::string& id,
52 const std::string& name, 52 const std::string& name,
53 const std::vector<std::string>& layouts, 53 const std::vector<std::string>& layouts,
54 const std::vector<std::string>& languages, 54 const std::vector<std::string>& languages,
55 const GURL& options_url, 55 const GURL& options_url,
56 InputMethodEngine* instance) OVERRIDE; 56 InputMethodEngine* instance) OVERRIDE;
57 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; 57 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE;
58 virtual void GetInputMethodExtensions( 58 virtual void GetInputMethodExtensions(
59 InputMethodDescriptors* result) OVERRIDE; 59 InputMethodDescriptors* result) OVERRIDE;
60 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; 60 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE;
61 virtual void SetInputMethodDefault() OVERRIDE;
61 virtual bool SwitchToNextInputMethod() OVERRIDE; 62 virtual bool SwitchToNextInputMethod() OVERRIDE;
62 virtual bool SwitchToPreviousInputMethod( 63 virtual bool SwitchToPreviousInputMethod(
63 const ui::Accelerator& accelerator) OVERRIDE; 64 const ui::Accelerator& accelerator) OVERRIDE;
64 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; 65 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE;
65 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; 66 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE;
66 virtual InputMethodPropertyList 67 virtual InputMethodPropertyList
67 GetCurrentInputMethodProperties() const OVERRIDE; 68 GetCurrentInputMethodProperties() const OVERRIDE;
68 virtual XKeyboard* GetXKeyboard() OVERRIDE; 69 virtual XKeyboard* GetXKeyboard() OVERRIDE;
69 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE; 70 virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE;
70 virtual ComponentExtensionIMEManager* 71 virtual ComponentExtensionIMEManager*
(...skipping 25 matching lines...) Expand all
96 // The active input method ids cache (actually default only) 97 // The active input method ids cache (actually default only)
97 std::vector<std::string> active_input_method_ids_; 98 std::vector<std::string> active_input_method_ids_;
98 99
99 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); 100 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
100 }; 101 };
101 102
102 } // namespace input_method 103 } // namespace input_method
103 } // namespace chromeos 104 } // namespace chromeos
104 105
105 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 106 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698