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

Unified Diff: ios/chrome/browser/ui/key_commands_provider.mm

Issue 2965963002: [ios] Remove IDC_STOP and IDC_RELOAD
Patch Set: Rebased. Created 3 years, 5 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: ios/chrome/browser/ui/key_commands_provider.mm
diff --git a/ios/chrome/browser/ui/key_commands_provider.mm b/ios/chrome/browser/ui/key_commands_provider.mm
index f303c71bd9048ad2199e3c244e42b9f45d96eb14..e1f85437903639a0cffcf628db5676c42c6b2529 100644
--- a/ios/chrome/browser/ui/key_commands_provider.mm
+++ b/ios/chrome/browser/ui/key_commands_provider.mm
@@ -156,7 +156,7 @@
title:l10n_util::GetNSStringWithFixup(
IDS_IOS_ACCNAME_RELOAD)
action:^{
- execute(IDC_RELOAD);
+ [weakDispatcher reload];
}],
]];
@@ -247,7 +247,7 @@
modifierFlags:UIKeyModifierCommand
title:nil
action:^{
- execute(IDC_STOP);
+ [weakDispatcher stopLoading];
}],
[UIKeyCommand cr_keyCommandWithInput:@"?"
modifierFlags:UIKeyModifierCommand
« no previous file with comments | « ios/chrome/browser/ui/commands/ios_command_ids.h ('k') | ios/chrome/browser/ui/omnibox/page_info_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698