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 ba17dd69513502e66894419da10dd40de4ab4b06..368e466d373fff6212360e5e81eee1a4d481f829 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_view.h |
+++ b/chrome/browser/ui/omnibox/omnibox_view.h |
@@ -217,6 +217,11 @@ class OmniboxView { |
// input text. |
static string16 StripJavascriptSchemas(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. |
+ static string16 GetClipboardText(); |
+ |
virtual ~OmniboxView() {} |
}; |