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

Unified Diff: ash/system/tray_caps_lock.h

Issue 2925353002: Implement sync of keyboard layout between Ozone and Wayland clients (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: ash/system/tray_caps_lock.h
diff --git a/ash/system/tray_caps_lock.h b/ash/system/tray_caps_lock.h
index 8c86411b585723734f1e50dbcc0d68fe6022a9fe..d6ec7ece5b9d787a1a30b69137341eca03d9fba6 100644
--- a/ash/system/tray_caps_lock.h
+++ b/ash/system/tray_caps_lock.h
@@ -27,6 +27,9 @@ class TrayCapsLock : public TrayImageItem,
// Overriden from chromeos::input_method::ImeKeyboard::Observer:
void OnCapsLockChanged(bool enabled) override;
+ // input_method::ImeKeyboard::Observer: we are not interested in layout:
reveman 2017/06/09 14:53:17 Simply "// Overridden from input_method::ImeKeyboa
jclinton 2017/06/09 16:36:02 Done.
+ void OnLayoutChanged(const std::string& layout_name) override{};
reveman 2017/06/09 14:53:17 nit: s/override{};/override {}/
jclinton 2017/06/09 16:36:02 Done.
+
// Overridden from TrayImageItem.
bool GetInitialVisibility() override;
views::View* CreateDefaultView(LoginStatus status) override;

Powered by Google App Engine
This is Rietveld 408576698