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

Unified Diff: ui/views/controls/textfield/textfield.cc

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/views/controls/textfield/textfield.cc
diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
index ecce8fc2f1e6609e7358724d3dcd1fad38c27f69..be739e44479b1a853e7a3ec4f22db77e889bb8c5 100644
--- a/ui/views/controls/textfield/textfield.cc
+++ b/ui/views/controls/textfield/textfield.cc
@@ -1641,7 +1641,7 @@ void Textfield::ExtendSelectionAndDelete(size_t before, size_t after) {
void Textfield::EnsureCaretInRect(const gfx::Rect& rect) {}
-bool Textfield::IsEditCommandEnabled(int command_id) {
+bool Textfield::IsEditCommandEnabled(int command_id) const {
return IsCommandIdEnabled(command_id);
}

Powered by Google App Engine
This is Rietveld 408576698