Commit 94afd51a authored by David Vallet's avatar David Vallet Committed by Commit Bot

Change comments

BUG=1124062

Change-Id: I8ccceb481300089ad3218455ff691ff1dac2b3f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421988Reviewed-by: default avatarKeith Lee <keithlee@chromium.org>
Reviewed-by: default avatarAlex Gough <ajgo@chromium.org>
Commit-Queue: David Vallet <dvallet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811535}
parent c3cd91ff
...@@ -77,9 +77,9 @@ bool COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS) ...@@ -77,9 +77,9 @@ bool COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS)
IsExtensionIME(const std::string& input_method_id); IsExtensionIME(const std::string& input_method_id);
// Returns true if |input_method_id| is component extension IME ID. This // Returns true if |input_method_id| is component extension IME ID. This
// function does not check |input_method_id| is really whitelisted one or not. // function does not check |input_method_id| is really allowlisted one or not.
// If you want to check |input_method_id| is whitelisted component extension // If you want to check |input_method_id| is allowlisted component extension
// IME, please use ComponentExtensionIMEManager::IsWhitelisted instead. // IME, please use ComponentExtensionIMEManager::Isallowlisted instead.
bool COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS) bool COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS)
IsComponentExtensionIME(const std::string& input_method_id); IsComponentExtensionIME(const std::string& input_method_id);
......
...@@ -54,12 +54,12 @@ class COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS) ImeKeyboard { ...@@ -54,12 +54,12 @@ class COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS) ImeKeyboard {
// Updates keyboard LEDs on all keyboards. // Updates keyboard LEDs on all keyboards.
// XKB asymmetrically propagates keyboard modifier indicator state changes to // XKB asymmetrically propagates keyboard modifier indicator state changes to
// slave keyboards. If the state change is initiated from a client to the // slave keyboards. If the state change is initiated from a client to the
// "core/master keyboard", XKB changes global state and pushes an indication // "core keyboard", XKB changes global state and pushes an indication change
// change down to all keyboards. If the state change is initiated by one slave // down to all keyboards. If the state change is initiated by one slave
// (physical) keyboard, it changes global state but only pushes an indicator // (physical) keyboard, it changes global state but only pushes an indicator
// state change down to that one keyboard. // state change down to that one keyboard.
// This function changes LEDs on all keyboards by explicitly updating the // This function changes LEDs on all keyboards by explicitly updating the
// core/master keyboard. // core keyboard.
virtual void ReapplyCurrentModifierLockStatus() = 0; virtual void ReapplyCurrentModifierLockStatus() = 0;
// Disables the num lock. // Disables the num lock.
......
...@@ -77,7 +77,7 @@ class COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS) InputMethodUtil { ...@@ -77,7 +77,7 @@ class COMPONENT_EXPORT(UI_BASE_IME_CHROMEOS) InputMethodUtil {
// Note that the function might return false or |language_code| is unknown. // Note that the function might return false or |language_code| is unknown.
// //
// The retured input method IDs are sorted by populalirty per // The retured input method IDs are sorted by populalirty per
// chromeos/platform/assets/input_methods/whitelist.txt. // chromeos/platform/assets/input_methods/allowlist.txt.
bool GetInputMethodIdsFromLanguageCode( bool GetInputMethodIdsFromLanguageCode(
const std::string& language_code, const std::string& language_code,
InputMethodType type, InputMethodType type,
......
...@@ -5,14 +5,14 @@ ...@@ -5,14 +5,14 @@
module ui.mojom; module ui.mojom;
// This mode corresponds to virtualkeyboardpolicy // This mode corresponds to virtualkeyboardpolicy
// https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/VirtualKeyboardPolicy/explainer.md // https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/VirtualKeyboardPolicy/explainer.md
enum VirtualKeyboardPolicy { enum VirtualKeyboardPolicy {
AUTO, AUTO,
MANUAL, MANUAL,
}; };
// This mode corresponds to VirtualKeyboard API show/hide. // This mode corresponds to VirtualKeyboard API show/hide.
// https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/master/VirtualKeyboardPolicy/explainer.md // https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/VirtualKeyboardPolicy/explainer.md
enum VirtualKeyboardVisibilityRequest { enum VirtualKeyboardVisibilityRequest {
NONE, NONE,
SHOW, SHOW,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment