summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/tab_contents/tab_contents_view_mac.mm8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm
index d8bb0ea..0170dbe 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm
@@ -403,6 +403,14 @@ void TabContentsViewMac::Observe(NotificationType type,
forType:type];
}
+- (void)undo:(id)sender {
+ [self tabContents]->render_view_host()->Undo();
+}
+
+- (void)redo:(id)sender {
+ [self tabContents]->render_view_host()->Redo();
+}
+
- (void)startDragWithDropData:(const WebDropData&)dropData
dragOperationMask:(NSDragOperation)operationMask {
dragSource_.reset([[WebDragSource alloc]