blob: 64122b1b9fad7d9d64357d0ba4eea0580e53c9b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file contains the autocomplete provider for built-in URLs,
// such as about:settings.
//
// For more information on the autocomplete system in general, including how
// the autocomplete controller and autocomplete providers work, see
// chrome/browser/autocomplete.h.
#ifndef CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
#define CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
#pragma once
#include <vector>
#include "base/string16.h"
#include "chrome/browser/autocomplete/autocomplete.h"
class BuiltinProvider : public AutocompleteProvider {
public:
BuiltinProvider(ACProviderListener* listener, Profile* profile);
// AutocompleteProvider:
virtual void Start(const AutocompleteInput& input, bool minimal_changes);
private:
static const int kRelevance;
typedef std::vector<string16> Builtins;
Builtins builtins_;
DISALLOW_IMPLICIT_CONSTRUCTORS(BuiltinProvider);
};
#endif // CHROME_BROWSER_AUTOCOMPLETE_BUILTIN_PROVIDER_H_
|