Index: chrome/browser/tab_contents/render_view_context_menu.h |
diff --git a/chrome/browser/tab_contents/render_view_context_menu.h b/chrome/browser/tab_contents/render_view_context_menu.h |
index bd6bd0f0f4a3614916fd29fa8ca892afe920153e..2e9ecb668f5ea1e1d90f819ab6501e462be14e44 100644 |
--- a/chrome/browser/tab_contents/render_view_context_menu.h |
+++ b/chrome/browser/tab_contents/render_view_context_menu.h |
@@ -47,6 +47,7 @@ class RenderViewContextMenu : public ui::SimpleMenuModel::Delegate { |
virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; |
virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; |
virtual void ExecuteCommand(int command_id) OVERRIDE; |
+ virtual void ExecuteCommandWithFlags(int command_id, int flags) OVERRIDE; |
virtual void MenuWillShow() OVERRIDE; |
virtual void MenuClosed() OVERRIDE; |
@@ -129,6 +130,12 @@ class RenderViewContextMenu : public ui::SimpleMenuModel::Delegate { |
WindowOpenDisposition disposition, |
PageTransition::Type transition); |
+ // Open a previous page. |event_flags| is a bitsum of ui::EventFlags. |
+ void GoBack(int event_flags); |
+ |
+ // Open a forward page. |event_flags| is a bitsum of ui::EventFlags. |
+ void GoForward(int event_flags); |
+ |
// Copy to the clipboard an image located at a point in the RenderView |
void CopyImageAt(int x, int y); |