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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit.h

Issue 7806001: Makes copying text in the omnibox always use permanent text is the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add another test Created 9 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 | chrome/browser/autocomplete/autocomplete_edit.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit.h
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index d286e26c4705f3fa27259ca16022b5552b49b383..40f31013a83a1b437a9f9ac89a490799972b8462 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -401,14 +401,6 @@ class AutocompleteEditModel : public AutocompleteControllerDelegate {
void GetInfoForCurrentText(AutocompleteMatch* match,
GURL* alternate_nav_url) const;
- // Returns true if |text| (which is display text in the current context)
- // parses as a URL, and in that case sets |url| to the calculated URL.
- // Subtle note: This ignores the desired_tld_ (unlike GetDataForURLExport()
- // and CurrentTextIsURL()). The view needs this because it calls this
- // function during copy handling, when the control key is down to trigger the
- // copy.
- bool GetURLForText(const string16& text, GURL* url) const;
-
// Reverts the edit box from a temporary text back to the original user text.
// If |revert_popup| is true then the popup will be reverted as well.
void RevertTemporaryText(bool revert_popup);
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_edit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698