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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 10827330: Don't copy urls in richtext from omnibox on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/views/omnibox/omnibox_view_win.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
index 1fecea8e197831826fa79f2b8a9ee6da9e60c26f..e7fc7dded9ac53f2d0fd10b11555405885d586de 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -1336,7 +1336,6 @@ void OmniboxViewWin::OnCopy() {
scw.WriteText(text);
if (write_url) {
Peter Kasting 2012/08/15 17:21:40 Nit: Remove {}
scw.WriteBookmark(text, url.spec());
- scw.WriteHyperlink(net::EscapeForHTML(text), url.spec());
Peter Kasting 2012/08/15 05:54:28 It surprises me that this could somehow preserve f
}
}
« 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