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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.h

Issue 1523593002: Add an option in language settings for activating the IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_UI_WEBUI_OPTIONS_CHROMEOS_CROS_LANGUAGE_OPTIONS_HANDLER_H _ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CROS_LANGUAGE_OPTIONS_HANDLER_H _
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CROS_LANGUAGE_OPTIONS_HANDLER_H _ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CROS_LANGUAGE_OPTIONS_HANDLER_H _
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void InputMethodDisableCallback(const base::ListValue* args); 60 void InputMethodDisableCallback(const base::ListValue* args);
61 61
62 // Called when the input method is enabled. 62 // Called when the input method is enabled.
63 // |args| will contain the input method ID as string (ex. "mozc"). 63 // |args| will contain the input method ID as string (ex. "mozc").
64 void InputMethodEnableCallback(const base::ListValue* args); 64 void InputMethodEnableCallback(const base::ListValue* args);
65 65
66 // Called when the input method options page is opened. 66 // Called when the input method options page is opened.
67 // |args| will contain the input method ID as string (ex. "mozc"). 67 // |args| will contain the input method ID as string (ex. "mozc").
68 void InputMethodOptionsOpenCallback(const base::ListValue* args); 68 void InputMethodOptionsOpenCallback(const base::ListValue* args);
69 69
70 // Called when the 'activate-system-ime-menu' checkbox is checked
71 void ActivateSystemImeMenuCallback(const base::ListValue* args);
72
73 // Called when the 'activate-system-ime-menu' checkbox is unchecked
74 void DeactivateSystemImeMenuCallback(const base::ListValue* args);
75
70 // Adds the name of the extension that provides the IME to each entry in the 76 // Adds the name of the extension that provides the IME to each entry in the
71 // |list| of extension IMEs. 77 // |list| of extension IMEs.
72 void AddImeProvider(base::ListValue* list); 78 void AddImeProvider(base::ListValue* list);
73 79
74 DISALLOW_COPY_AND_ASSIGN(CrosLanguageOptionsHandler); 80 DISALLOW_COPY_AND_ASSIGN(CrosLanguageOptionsHandler);
75 }; 81 };
76 82
77 } // namespace options 83 } // namespace options
78 } // namespace chromeos 84 } // namespace chromeos
79 85
80 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CROS_LANGUAGE_OPTIONS_HANDLE R_H_ 86 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_CROS_LANGUAGE_OPTIONS_HANDLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698