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

Unified Diff: components/arc/ime/arc_ime_service.h

Issue 2007503002: Views: Replace resource ids with ui::TextEditCommand enum for text editing commands in Textfield. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added file deleted during rename. 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: components/arc/ime/arc_ime_service.h
diff --git a/components/arc/ime/arc_ime_service.h b/components/arc/ime/arc_ime_service.h
index 3e81db4b1340e8d2b0d722ae6cc53e8694fec98f..bf0121588ad3f31ed838dabc4530c9897cd91be1 100644
--- a/components/arc/ime/arc_ime_service.h
+++ b/components/arc/ime/arc_ime_service.h
@@ -94,8 +94,8 @@ class ArcImeService : public ArcService,
base::i18n::TextDirection direction) override;
void ExtendSelectionAndDelete(size_t before, size_t after) override {}
void EnsureCaretInRect(const gfx::Rect& rect) override {}
- bool IsEditCommandEnabled(int command_id) override;
- void SetEditCommandForNextKeyEvent(int command_id) override {}
+ bool IsEditCommandEnabled(ui::TextEditCommand command) const override;
+ void SetEditCommandForNextKeyEvent(ui::TextEditCommand command) override {}
private:
ui::InputMethod* GetInputMethod();

Powered by Google App Engine
This is Rietveld 408576698