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

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

Issue 2024033006: Make ui::TextInputClient::IsEditCommandEnabled const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « ui/views/controls/prefix_selector.h ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/prefix_selector.cc
diff --git a/ui/views/controls/prefix_selector.cc b/ui/views/controls/prefix_selector.cc
index 1ba5feb1ba8ee57dd60a39e9e77c7b49b4285328..a0baf028731440d6b834a97567378c8056099191 100644
--- a/ui/views/controls/prefix_selector.cc
+++ b/ui/views/controls/prefix_selector.cc
@@ -135,7 +135,7 @@ void PrefixSelector::ExtendSelectionAndDelete(size_t before, size_t after) {
void PrefixSelector::EnsureCaretInRect(const gfx::Rect& rect) {
}
-bool PrefixSelector::IsEditCommandEnabled(int command_id) {
+bool PrefixSelector::IsEditCommandEnabled(int command_id) const {
return false;
}
« no previous file with comments | « ui/views/controls/prefix_selector.h ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698