| Index: chrome/browser/ui/omnibox/omnibox_view.h
|
| ===================================================================
|
| --- chrome/browser/ui/omnibox/omnibox_view.h (revision 85569)
|
| +++ chrome/browser/ui/omnibox/omnibox_view.h (working copy)
|
| @@ -15,8 +15,11 @@
|
| #include <string>
|
|
|
| #include "base/string16.h"
|
| +#include "base/string_util.h"
|
| +#include "base/utf_string_conversions.h"
|
| #include "chrome/browser/autocomplete/autocomplete_match.h"
|
| #include "content/common/page_transition_types.h"
|
| +#include "content/common/url_constants.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| #include "webkit/glue/window_open_disposition.h"
|
|
|
| @@ -184,6 +187,10 @@
|
| virtual int OnPerformDrop(const views::DropTargetEvent& event) = 0;
|
| #endif
|
|
|
| + // Returns a string with any leading javascript schemas stripped from the
|
| + // input text.
|
| + static string16 StripJavascriptSchemas(const string16& text);
|
| +
|
| virtual ~OmniboxView() {}
|
| };
|
|
|
|
|