OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // KeywordExtensionsDelegate contains the extensions-only logic used by | 5 // KeywordExtensionsDelegate contains the extensions-only logic used by |
6 // KeywordProvider. | 6 // KeywordProvider. |
7 // This file contains the dummy implementation of KeywordExtensionsDelegate, | 7 // This file contains the dummy implementation of KeywordExtensionsDelegate, |
8 // which does nothing. | 8 // which does nothing. |
9 | 9 |
10 #ifndef CHROME_BROWSER_AUTOCOMPLETE_KEYWORD_EXTENSIONS_DELEGATE_H_ | 10 #ifndef COMPONENTS_OMNIBOX_KEYWORD_EXTENSIONS_DELEGATE_H_ |
11 #define CHROME_BROWSER_AUTOCOMPLETE_KEYWORD_EXTENSIONS_DELEGATE_H_ | 11 #define COMPONENTS_OMNIBOX_KEYWORD_EXTENSIONS_DELEGATE_H_ |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
18 | 18 |
19 class AutocompleteInput; | 19 class AutocompleteInput; |
20 class KeywordProvider; | 20 class KeywordProvider; |
21 class TemplateURL; | 21 class TemplateURL; |
(...skipping 27 matching lines...) Expand all Loading... |
49 | 49 |
50 // If an extension previously entered extension keyword mode, exits extension | 50 // If an extension previously entered extension keyword mode, exits extension |
51 // keyword mode. This happens when the user has cleared the keyword or closed | 51 // keyword mode. This happens when the user has cleared the keyword or closed |
52 // the omnibox popup. | 52 // the omnibox popup. |
53 virtual void MaybeEndExtensionKeywordMode(); | 53 virtual void MaybeEndExtensionKeywordMode(); |
54 | 54 |
55 private: | 55 private: |
56 DISALLOW_COPY_AND_ASSIGN(KeywordExtensionsDelegate); | 56 DISALLOW_COPY_AND_ASSIGN(KeywordExtensionsDelegate); |
57 }; | 57 }; |
58 | 58 |
59 #endif // CHROME_BROWSER_AUTOCOMPLETE_KEYWORD_EXTENSIONS_DELEGATE_H_ | 59 #endif // COMPONENTS_OMNIBOX_KEYWORD_EXTENSIONS_DELEGATE_H_ |
OLD | NEW |