[chrome:omnibox] Smarter boolean filtering; e.g. 'is starred' or 'not deletable'.

Previously, boolean properties used their true or false values for filtering.
If you wished to filter bookmarked matches, you could type 'true', but this
would filter bookmarked matches as well as any match that has any true boolean
property. With this CL, you can type 'is starred' or 'not starred'; boolean
properties now use the 'is:' or 'not:' prefix in conjunction with their
property name.

Other minor but related changes:

1) Filtering is now case insensitive.
2) The filter input box now has examples in the placeholder text as well as an
explanation of the filter algorithm in the tooltip.
3) Filter text now correctly escapes special characters.

Bug: 891303
Change-Id: I259b4a9a71b9f8249839ec881196a1c2d483bc11
Reviewed-on: https://chromium-review.googlesource.com/c/1366256
Commit-Queue: manuk hovanesian <manukh@chromium.org>
Reviewed-by: Tommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614884}
2 files changed