Index: chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc |
diff --git a/chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc b/chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc |
index a79bb6ad136ce5f3bd5ab9417b03030dbe6672ea..f27a5dd52b784fed2e23a63ee956f3c915951454 100644 |
--- a/chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc |
+++ b/chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc |
@@ -59,6 +59,10 @@ bool RenderViewContextMenuViews::GetAcceleratorForCommandId( |
// There are no formally defined accelerators we can query so we assume |
// that Ctrl+C, Ctrl+V, Ctrl+X, Ctrl-A, etc do what they normally do. |
switch (command_id) { |
+ case IDC_BACK: |
+ *accel = ui::Accelerator(ui::VKEY_LEFT, ui::EF_ALT_DOWN); |
+ return true; |
+ |
case IDC_CONTENT_CONTEXT_UNDO: |
*accel = ui::Accelerator(ui::VKEY_Z, ui::EF_CONTROL_DOWN); |
return true; |
@@ -103,6 +107,10 @@ bool RenderViewContextMenuViews::GetAcceleratorForCommandId( |
*accel = ui::Accelerator(ui::VKEY_OEM_6, ui::EF_CONTROL_DOWN); |
return true; |
+ case IDC_FORWARD: |
+ *accel = ui::Accelerator(ui::VKEY_RIGHT, ui::EF_ALT_DOWN); |
+ return true; |
+ |
case IDC_PRINT: |
*accel = ui::Accelerator(ui::VKEY_P, ui::EF_CONTROL_DOWN); |
return true; |
@@ -111,6 +119,10 @@ bool RenderViewContextMenuViews::GetAcceleratorForCommandId( |
*accel = ui::Accelerator(ui::VKEY_R, ui::EF_CONTROL_DOWN); |
return true; |
+ case IDC_SAVE_PAGE: |
+ *accel = ui::Accelerator(ui::VKEY_S, ui::EF_CONTROL_DOWN); |
+ return true; |
+ |
case IDC_VIEW_SOURCE: |
*accel = ui::Accelerator(ui::VKEY_U, ui::EF_CONTROL_DOWN); |
return true; |