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

Unified Diff: chrome/browser/tab_contents/tab_contents_view_mac.mm

Issue 197035: [mac] Let cmd-e write the selection into the find pasteboard. (Closed)
Patch Set: Add comment, merge with ToT Created 11 years, 3 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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/tab_contents_view_mac.mm
diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm
index ac7cdedd5ee18413ba07e0764266081c2a3207f3..96c1f6ca6aa14e1bf939521461fef2129c06f222 100644
--- a/chrome/browser/tab_contents/tab_contents_view_mac.mm
+++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm
@@ -336,6 +336,10 @@ void TabContentsViewMac::Observe(NotificationType type,
[self tabContents]->Copy();
}
+- (void)copyToFindPboard:(id)sender {
+ [self tabContents]->CopyToFindPboard();
+}
+
- (void)paste:(id)sender {
[self tabContents]->Paste();
}
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698