diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-29 20:04:07 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-29 20:04:07 +0000 |
commit | 470d6b1c3235a64c2f5180874f69657b967579e8 (patch) | |
tree | 771b422a797217f7a1c1a245169fc6c1a32df0f5 /chrome/app | |
parent | 072bbfa45e16385741fd00dede5c4c31e42438a6 (diff) | |
download | chromium_src-470d6b1c3235a64c2f5180874f69657b967579e8.zip chromium_src-470d6b1c3235a64c2f5180874f69657b967579e8.tar.gz chromium_src-470d6b1c3235a64c2f5180874f69657b967579e8.tar.bz2 |
Add descriptive text for omnibox popup result items.
Fixes a couple of bugs in painting and updating:
- properly size the canvas we draw the child views into so the bottom pixel doesn't bleed
- properly schedule repaints when the presentation changes for the same number of results so that we repaint selection changes.
Back to using system colors. Adds highlight icons.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=14826
Review URL: http://codereview.chromium.org/99102
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/generated_resources.grd | 3 | ||||
-rw-r--r-- | chrome/app/theme/o2_globe_selected.png | bin | 0 -> 2987 bytes | |||
-rw-r--r-- | chrome/app/theme/o2_history_selected.png | bin | 0 -> 2932 bytes | |||
-rw-r--r-- | chrome/app/theme/o2_more_selected.png | bin | 0 -> 2927 bytes | |||
-rw-r--r-- | chrome/app/theme/o2_search_selected.png | bin | 0 -> 2927 bytes | |||
-rw-r--r-- | chrome/app/theme/o2_star_selected.png | bin | 0 -> 2985 bytes | |||
-rw-r--r-- | chrome/app/theme/theme_resources.grd | 5 |
7 files changed, 8 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 3930270..fe7a9ef 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -200,6 +200,9 @@ each locale. --> <message name="IDS_AUTOCOMPLETE_NO_QUERY" desc="Dummy search term displayed when the user has no query input."> <enter query> </message> + <message name="IDS_AUTOCOMPLETE_MATCH_DESCRIPTION_SEPARATOR" desc="The separator between a result in the autocomplete popup and its description."> + ''' - ''' + </message> <message name="IDS_HISTORY_TITLE" desc="Title for the history tab."> History diff --git a/chrome/app/theme/o2_globe_selected.png b/chrome/app/theme/o2_globe_selected.png Binary files differnew file mode 100644 index 0000000..70617cd --- /dev/null +++ b/chrome/app/theme/o2_globe_selected.png diff --git a/chrome/app/theme/o2_history_selected.png b/chrome/app/theme/o2_history_selected.png Binary files differnew file mode 100644 index 0000000..9a2502b --- /dev/null +++ b/chrome/app/theme/o2_history_selected.png diff --git a/chrome/app/theme/o2_more_selected.png b/chrome/app/theme/o2_more_selected.png Binary files differnew file mode 100644 index 0000000..bb9616c --- /dev/null +++ b/chrome/app/theme/o2_more_selected.png diff --git a/chrome/app/theme/o2_search_selected.png b/chrome/app/theme/o2_search_selected.png Binary files differnew file mode 100644 index 0000000..4727ab6e --- /dev/null +++ b/chrome/app/theme/o2_search_selected.png diff --git a/chrome/app/theme/o2_star_selected.png b/chrome/app/theme/o2_star_selected.png Binary files differnew file mode 100644 index 0000000..3e84497 --- /dev/null +++ b/chrome/app/theme/o2_star_selected.png diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd index deff5fc..6888bad 100644 --- a/chrome/app/theme/theme_resources.grd +++ b/chrome/app/theme/theme_resources.grd @@ -324,6 +324,11 @@ <include name="IDR_O2_MORE" file="o2_more.png" type="BINDATA" /> <include name="IDR_O2_SEARCH" file="o2_search.png" type="BINDATA" /> <include name="IDR_O2_STAR" file="o2_star.png" type="BINDATA" /> + <include name="IDR_O2_GLOBE_SELECTED" file="o2_globe_selected.png" type="BINDATA" /> + <include name="IDR_O2_HISTORY_SELECTED" file="o2_history_selected.png" type="BINDATA" /> + <include name="IDR_O2_MORE_SELECTED" file="o2_more_selected.png" type="BINDATA" /> + <include name="IDR_O2_SEARCH_SELECTED" file="o2_search_selected.png" type="BINDATA" /> + <include name="IDR_O2_STAR_SELECTED" file="o2_star_selected.png" type="BINDATA" /> <include name="IDR_CLOSED_WINDOW" file="closed_window.png" type="BINDATA" /> <if expr="pp_ifdef('_google_chrome')"> |