HomeSort by relevance Sort by last modified time
    Searched refs:ACMatchClassification (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium/chrome/browser/extensions/
extension_omnibox_unittest.cc 12 const int kNone = ACMatchClassification::NONE;
13 const int kUrl = ACMatchClassification::URL;
14 const int kMatch = ACMatchClassification::MATCH;
15 const int kDim = ACMatchClassification::DIM;
51 styles_expected.push_back(ACMatchClassification(0, kNone));
52 styles_expected.push_back(ACMatchClassification(1, kMatch));
53 styles_expected.push_back(ACMatchClassification(5, kNone));
54 styles_expected.push_back(ACMatchClassification(6, kDim));
55 styles_expected.push_back(ACMatchClassification(9, kNone));
86 styles_expected.push_back(ACMatchClassification(0, kUrl | kMatch))
    [all...]
extension_omnibox_api.cc 135 ACMatchClassification(0, ACMatchClassification::NONE));
162 ACMatchClassification(0, ACMatchClassification::NONE));
208 (type == "url") ? ACMatchClassification::URL :
209 (type == "match") ? ACMatchClassification::MATCH :
210 (type == "dim") ? ACMatchClassification::DIM : -1;
222 description_styles.push_back(ACMatchClassification(i, styles[i]));
extension_omnibox_apitest.cc 160 EXPECT_EQ(ACMatchClassification::NONE,
165 EXPECT_EQ(ACMatchClassification::MATCH,
170 EXPECT_EQ(ACMatchClassification::NONE,
175 EXPECT_EQ(ACMatchClassification::DIM,
180 EXPECT_EQ(ACMatchClassification::NONE,
185 EXPECT_EQ(ACMatchClassification::URL,
  /external/chromium/chrome/browser/autocomplete/
autocomplete_match.h 42 struct ACMatchClassification {
53 ACMatchClassification(size_t offset, int style)
64 typedef std::vector<ACMatchClassification> ACMatchClassifications;
201 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification;
202 typedef std::vector<ACMatchClassification> ACMatchClassifications;
autocomplete_popup_view_gtk_unittest.cc 232 ACMatchClassification(0U, ACMatchClassification::URL));
273 ACMatchClassification(0U, ACMatchClassification::NONE));
275 ACMatchClassification(runLength1, ACMatchClassification::DIM));
277 ACMatchClassification(runLength1 + runLength2,
278 ACMatchClassification::NONE));
335 ACMatchClassification(0U, ACMatchClassification::NONE))
    [all...]
builtin_provider.cc 42 match.contents_class.push_back(ACMatchClassification(0,
43 ACMatchClassification::MATCH | ACMatchClassification::URL));
46 ACMatchClassification(input.text().length(),
47 ACMatchClassification::URL));
history_quick_provider_unittest.cc 304 EXPECT_EQ(ACMatchClassification::NONE, spans_a[0].style);
306 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[1].style);
308 EXPECT_EQ(ACMatchClassification::NONE, spans_a[2].style);
310 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[3].style);
312 EXPECT_EQ(ACMatchClassification::NONE, spans_a[4].style);
314 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[5].style);
316 EXPECT_EQ(ACMatchClassification::NONE, spans_a[6].style);
318 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[7].style);
320 EXPECT_EQ(ACMatchClassification::NONE, spans_a[8].style);
331 EXPECT_EQ(ACMatchClassification::MATCH, spans_b[0].style)
    [all...]
history_contents_provider.cc 220 ACMatchClassification(0, ACMatchClassification::URL));
242 ACMatchClassification(offset, ACMatchClassification::NONE));
245 ACMatchClassification(i->first, ACMatchClassification::MATCH));
251 ACMatchClassification(offset, ACMatchClassification::NONE));
history_quick_provider.cc 222 spans.push_back(ACMatchClassification(0, ACMatchClassification::DIM));
226 spans.push_back(ACMatchClassification(0, ACMatchClassification::NONE));
230 spans.push_back(ACMatchClassification(offset,
231 ACMatchClassification::MATCH));
238 spans.push_back(ACMatchClassification(offset,
239 ACMatchClassification::NONE));
autocomplete_match.cc 135 classification->push_back(ACMatchClassification(0, style));
146 classification->push_back(ACMatchClassification(match_location,
147 (style | ACMatchClassification::MATCH) & ~ACMatchClassification::DIM));
152 classification->push_back(ACMatchClassification(after_match, style));
extension_app_provider.cc 126 ACMatchClassification(0, ACMatchClassification::DIM));
130 ACMatchClassification(pos, ACMatchClassification::MATCH));
132 match_class->push_back(ACMatchClassification(pos + input.text().length(),
133 ACMatchClassification::DIM));
search_provider.cc 190 ACMatchClassification(0, ACMatchClassification::NONE));
773 ACMatchClassification(0, ACMatchClassification::MATCH));
775 // TODO(beng): ACMatchClassification::MATCH now seems to just mean
784 ACMatchClassification(0, ACMatchClassification::NONE));
787 ACMatchClassification(input_position, ACMatchClassification::DIM));
791 ACMatchClassification(next_fragment_position
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
history_provider.cc 78 ACMatchClassification::Style url_style =
79 is_url ? ACMatchClassification::URL : ACMatchClassification::NONE;
83 spans.push_back(ACMatchClassification(0, url_style));
87 spans.push_back(ACMatchClassification(0, url_style));
91 spans.push_back(ACMatchClassification(offset,
92 ACMatchClassification::MATCH | url_style));
99 spans.push_back(ACMatchClassification(offset, url_style));
autocomplete_match.h 49 struct ACMatchClassification {
60 ACMatchClassification(size_t offset, int style)
71 typedef std::vector<ACMatchClassification> ACMatchClassifications;
351 typedef AutocompleteMatch::ACMatchClassification ACMatchClassification;
352 typedef std::vector<ACMatchClassification> ACMatchClassifications;
builtin_provider.cc 69 const int kUrl = ACMatchClassification::URL;
70 const int kMatch = kUrl | ACMatchClassification::MATCH;
80 styles.push_back(ACMatchClassification(0, highlight ? kMatch : kUrl));
83 styles.push_back(ACMatchClassification(offset, kUrl));
108 styles.push_back(ACMatchClassification(0, kMatch));
111 styles.push_back(ACMatchClassification(match_length, kUrl));
history_quick_provider_unittest.cc 422 EXPECT_EQ(ACMatchClassification::NONE, spans_a[0].style);
424 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[1].style);
426 EXPECT_EQ(ACMatchClassification::NONE, spans_a[2].style);
428 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[3].style);
430 EXPECT_EQ(ACMatchClassification::NONE, spans_a[4].style);
432 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[5].style);
434 EXPECT_EQ(ACMatchClassification::NONE, spans_a[6].style);
436 EXPECT_EQ(ACMatchClassification::MATCH, spans_a[7].style);
438 EXPECT_EQ(ACMatchClassification::NONE, spans_a[8].style);
449 EXPECT_EQ(ACMatchClassification::MATCH | ACMatchClassification::URL
    [all...]
autocomplete_match.cc 26 (classifications.back().style == ACMatchClassification::NONE));
227 classification->push_back(ACMatchClassification(0, style));
238 classification->push_back(ACMatchClassification(match_location,
239 (style | ACMatchClassification::MATCH) & ~ACMatchClassification::DIM));
244 classification->push_back(ACMatchClassification(after_match, style));
301 int classification_style = ACMatchClassification::NONE;
307 classifications.push_back(ACMatchClassification(classification_offset,
322 classifications->push_back(ACMatchClassification(offset, style));
shortcuts_provider.cc 328 ACMatchClassification(0, ACMatchClassification::MATCH));
335 ACMatchClassification(last_position, ACMatchClassification::NONE));
341 ACMatchClassification(0, ACMatchClassification::NONE));
366 last_position, ACMatchClassification::MATCH);
369 ACMatchClassification(word_end, ACMatchClassification::NONE));
bookmark_provider.cc 175 ACMatchClassification(0, ACMatchClassification::NONE));
266 ACMatchClassification(0, ACMatchClassification::NONE));
  /external/chromium_org/chrome/browser/extensions/api/omnibox/
omnibox_unittest.cc 20 const int kNone = ACMatchClassification::NONE;
21 const int kUrl = ACMatchClassification::URL;
22 const int kMatch = ACMatchClassification::MATCH;
23 const int kDim = ACMatchClassification::DIM;
61 styles_expected.push_back(ACMatchClassification(0, kNone));
62 styles_expected.push_back(ACMatchClassification(1, kMatch));
63 styles_expected.push_back(ACMatchClassification(5, kNone));
64 styles_expected.push_back(ACMatchClassification(6, kDim));
65 styles_expected.push_back(ACMatchClassification(9, kNone));
136 styles_expected.push_back(ACMatchClassification(0, kUrl | kMatch))
    [all...]
omnibox_api_browsertest.cc 101 EXPECT_EQ(ACMatchClassification::NONE,
106 EXPECT_EQ(ACMatchClassification::MATCH,
111 EXPECT_EQ(ACMatchClassification::NONE,
116 EXPECT_EQ(ACMatchClassification::DIM,
121 EXPECT_EQ(ACMatchClassification::NONE,
126 EXPECT_EQ(ACMatchClassification::URL,
omnibox_api.cc 338 type_class = AutocompleteMatch::ACMatchClassification::URL;
341 type_class = AutocompleteMatch::ACMatchClassification::MATCH;
344 type_class = AutocompleteMatch::ACMatchClassification::DIM;
347 type_class = AutocompleteMatch::ACMatchClassification::NONE;
358 ACMatchClassification(i, styles[i]));
362 ACMatchClassification(0, ACMatchClassification::NONE));
  /external/chromium_org/chrome/browser/ui/gtk/omnibox/
omnibox_popup_view_gtk_unittest.cc 266 ACMatchClassification(0U, ACMatchClassification::URL));
300 ACMatchClassification(0U, ACMatchClassification::NONE));
302 ACMatchClassification(kRunLength1, ACMatchClassification::DIM));
304 ACMatchClassification(kRunLength1 + kRunLength2,
305 ACMatchClassification::NONE));
350 ACMatchClassification(0U, ACMatchClassification::NONE))
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/
omnibox_provider.cc 23 if (styles & ACMatchClassification::URL)
25 if (styles & ACMatchClassification::MATCH)
27 if (styles & ACMatchClassification::DIM)
42 const ACMatchClassification& text_class = text_classes[i];
51 if (text_class.style == ACMatchClassification::NONE)
  /external/chromium/chrome/browser/ui/views/autocomplete/
autocomplete_result_view.cc 199 ACMatchClassification(0, ACMatchClassification::NONE));
281 if (!(i->style & ACMatchClassification::URL)) {
337 const bool use_bold_font = !!(style & ACMatchClassification::MATCH);
340 if (style & ACMatchClassification::URL)
342 else if (style & ACMatchClassification::DIM)

Completed in 236 milliseconds

1 2