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

Unified Diff: chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm

Issue 1048323003: Allows the findbar to respond to "Paste and Match Style" menu commands. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm
diff --git a/chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm b/chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm
index 2b4c3e70a0c51df12633ff8b4136fe0bd5394936..3216d795fb7343637790a5863185092e80121bfc 100644
--- a/chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm
+++ b/chrome/browser/ui/cocoa/find_bar/find_bar_text_field.mm
@@ -50,4 +50,10 @@
[textView setEnabledTextCheckingTypes:checkingTypes];
}
+// Implemented to allow the findbar to respond to "Paste and Match Style" menu
+// commands.
+- (void)pasteAndMatchStyle:(id)sender {
+ [[self currentEditor] paste:sender];
+}
+
@end
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698