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

Unified Diff: chrome/browser/autocomplete/builtin_provider.h

Issue 6995096: Update BuiltinProvider to use chrome:// URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add support for settings sub-pages. Created 9 years, 6 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
Index: chrome/browser/autocomplete/builtin_provider.h
diff --git a/chrome/browser/autocomplete/builtin_provider.h b/chrome/browser/autocomplete/builtin_provider.h
index 6ed35b315fe57094bbe5ce8906a5045ee731a029..650d86f038acaba5e4a3d65ed963ff4142e7ceab 100644
--- a/chrome/browser/autocomplete/builtin_provider.h
+++ b/chrome/browser/autocomplete/builtin_provider.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
//
// This file contains the autocomplete provider for built-in URLs,
-// such as about:settings.
+// such as about:settings and chrome://version.
//
// For more information on the autocomplete system in general, including how
// the autocomplete controller and autocomplete providers work, see
@@ -17,6 +17,7 @@
#include "base/string16.h"
#include "chrome/browser/autocomplete/autocomplete.h"
+#include "chrome/browser/autocomplete/autocomplete_match.h"
class BuiltinProvider : public AutocompleteProvider {
public:
@@ -29,6 +30,10 @@ class BuiltinProvider : public AutocompleteProvider {
private:
static const int kRelevance;
+ void AddMatch(const string16& input,
+ const string16& match_string,
+ const ACMatchClassifications& styles);
+
typedef std::vector<string16> Builtins;
Builtins builtins_;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/builtin_provider.cc » ('j') | chrome/browser/autocomplete/builtin_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698