Index: chrome/browser/ui/omnibox/omnibox_view.h |
diff --git a/chrome/browser/ui/omnibox/omnibox_view.h b/chrome/browser/ui/omnibox/omnibox_view.h |
index 9fb5b943a747f160e079815b65f32ba5156d46d4..54d7460d9abaee481f0a13e3e32cfc62deeb4417 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_view.h |
+++ b/chrome/browser/ui/omnibox/omnibox_view.h |
@@ -235,6 +235,10 @@ class OmniboxView { |
// input text. |
static string16 StripJavascriptSchemas(const string16& text); |
+ // Returns a string after stripping out any leading javascript schemas and |
+ // collapsing whitespace from the input text. |
Peter Kasting
2013/08/06 21:55:13
This needs to say more about what's happening. Ba
jfweitz
2013/08/09 02:37:41
Done.
|
+ static string16 SanitizeTextForPaste(const string16& text); |
+ |
// Returns the current clipboard contents as a string that can be pasted in. |
// In addition to just getting CF_UNICODETEXT out, this can also extract URLs |
// from bookmarks on the clipboard. |