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

Unified Diff: chrome/browser/search_engines/template_url.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/location_bar.h ('k') | chrome/browser/tab_contents/match_preview.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url.h
diff --git a/chrome/browser/search_engines/template_url.h b/chrome/browser/search_engines/template_url.h
index 42eb0bfdfd2dd83f14344d4bb9153f47bfd593aa..ceaa0ecd229f63d3083c0a238877ebb28946dd5a 100644
--- a/chrome/browser/search_engines/template_url.h
+++ b/chrome/browser/search_engines/template_url.h
@@ -277,7 +277,7 @@ class TemplateURL {
// Generates a favicon URL from the specified url.
static GURL GenerateFaviconURL(const GURL& url);
- // Returns true if |true| is non-null and has a search URL that supports
+ // Returns true if |turl| is non-null and has a search URL that supports
// replacement.
static bool SupportsReplacement(const TemplateURL* turl);
@@ -297,6 +297,10 @@ class TemplateURL {
}
const std::wstring& short_name() const { return short_name_; }
+ // Returns true if this search engine supports showing instant results.
+ // TODO(sky): make this real.
+ bool supports_instant() const { return false; }
+
// An accessor for the short_name, but adjusted so it can be appropriately
// displayed even if it is LTR and the UI is RTL.
std::wstring AdjustedShortNameForLocaleDirection() const;
« no previous file with comments | « chrome/browser/location_bar.h ('k') | chrome/browser/tab_contents/match_preview.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698