OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // 'unhighlighted' classification span so the tail of the source string | 70 // 'unhighlighted' classification span so the tail of the source string |
71 // properly highlighted. | 71 // properly highlighted. |
72 static ACMatchClassifications ClassificationsFromMatch( | 72 static ACMatchClassifications ClassificationsFromMatch( |
73 const query_parser::Snippet::MatchPositions& positions, | 73 const query_parser::Snippet::MatchPositions& positions, |
74 size_t text_length, | 74 size_t text_length, |
75 bool is_url); | 75 bool is_url); |
76 | 76 |
77 AutocompleteProviderClient* client_; | 77 AutocompleteProviderClient* client_; |
78 bookmarks::BookmarkModel* bookmark_model_; | 78 bookmarks::BookmarkModel* bookmark_model_; |
79 | 79 |
80 // Languages used during the URL formatting. | |
81 std::string languages_; | |
82 | |
83 DISALLOW_COPY_AND_ASSIGN(BookmarkProvider); | 80 DISALLOW_COPY_AND_ASSIGN(BookmarkProvider); |
84 }; | 81 }; |
85 | 82 |
86 #endif // COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ | 83 #endif // COMPONENTS_OMNIBOX_BROWSER_BOOKMARK_PROVIDER_H_ |
OLD | NEW |