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

Unified Diff: ui/base/ime/text_input_client.h

Issue 2024033006: Make ui::TextInputClient::IsEditCommandEnabled const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: ui/base/ime/text_input_client.h
diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h
index 552208c30faa1e6b7d9271afed8e8c5a972b5d49..a3256be0b149e098686e63cc67bc7cf03d791e2f 100644
--- a/ui/base/ime/text_input_client.h
+++ b/ui/base/ime/text_input_client.h
@@ -167,7 +167,7 @@ class UI_BASE_IME_EXPORT TextInputClient {
virtual void EnsureCaretInRect(const gfx::Rect& rect) = 0;
// Returns true if |command_id| is currently allowed to be executed.
- virtual bool IsEditCommandEnabled(int command_id) = 0;
+ virtual bool IsEditCommandEnabled(int command_id) const = 0;
// Execute the command specified by |command_id| on the next key event.
// This allows a TextInputClient to be informed of a platform-independent edit

Powered by Google App Engine
This is Rietveld 408576698