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

Unified Diff: blimp/engine/feature/engine_render_widget_feature_unittest.cc

Issue 2027133002: Modify ui::TextInputClient to use ui::TextEditCommand enum in place of resource ids. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor4_up_down_mac
Patch Set: 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
Index: blimp/engine/feature/engine_render_widget_feature_unittest.cc
diff --git a/blimp/engine/feature/engine_render_widget_feature_unittest.cc b/blimp/engine/feature/engine_render_widget_feature_unittest.cc
index cc17151d4ed208a10eed2c6b968685f3a050e18f..660ffc4bf1d8993dcdb28226c7d320b8b3648eec 100644
--- a/blimp/engine/feature/engine_render_widget_feature_unittest.cc
+++ b/blimp/engine/feature/engine_render_widget_feature_unittest.cc
@@ -144,8 +144,10 @@ class MockTextInputClient : public ui::TextInputClient {
}
void ExtendSelectionAndDelete(size_t before, size_t after) override {}
void EnsureCaretInRect(const gfx::Rect& rect) override {}
- bool IsEditCommandEnabled(int command_id) const override { return false; }
- void SetEditCommandForNextKeyEvent(int command_id) override {}
+ bool IsEditCommandEnabled(ui::TextEditCommand command) const override {
+ return false;
+ }
+ void SetEditCommandForNextKeyEvent(ui::TextEditCommand command) override {}
bool GetTextFromRange(const gfx::Range& range,
base::string16* text) const override {
*text = base::string16(base::ASCIIToUTF16("green apple"));
« no previous file with comments | « no previous file | chrome/browser/ui/views/omnibox/omnibox_view_views.h » ('j') | ui/base/ime/text_input_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698