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

Unified Diff: chrome/browser/location_bar.h

Issue 3332022: Bunch of match preview tweaks: (Closed)
Patch Set: Add string16 include Created 10 years, 3 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 | « chrome/browser/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/search_engines/template_url.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/location_bar.h
diff --git a/chrome/browser/location_bar.h b/chrome/browser/location_bar.h
index d16bd8fbde7f5af008a984921dfaa2c1c8032c14..b6a6d0da189fedb36a370e633fdbbf72fe41558b 100644
--- a/chrome/browser/location_bar.h
+++ b/chrome/browser/location_bar.h
@@ -14,6 +14,7 @@
#include <string>
+#include "base/string16.h"
#include "chrome/browser/first_run/first_run.h"
#include "chrome/common/page_transition_types.h"
#include "webkit/glue/window_open_disposition.h"
@@ -28,12 +29,9 @@ class LocationBar {
// Shows the first run information bubble anchored to the location bar.
virtual void ShowFirstRunBubble(FirstRun::BubbleType bubble_type) = 0;
- // TODO: port
-#if defined(TOOLKIT_VIEWS)
// Sets the suggested text to show in the omnibox. This is shown in addition
// to the current text of the omnibox.
- virtual void SetSuggestedText(const std::wstring& text) = 0;
-#endif
+ virtual void SetSuggestedText(const string16& text) = 0;
// Returns the string of text entered in the location bar.
virtual std::wstring GetInputString() const = 0;
« no previous file with comments | « chrome/browser/gtk/location_bar_view_gtk.cc ('k') | chrome/browser/search_engines/template_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698