diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-15 13:22:45 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-15 13:22:45 +0000 |
commit | 80498b5e37ca41412d9edf3ff53a2be39b284a72 (patch) | |
tree | 8f064af7a706c3f9b4be2adfa5e34febafa3aa81 /base/string_util.h | |
parent | d2a02af97c356767de528b6c3b6d8a6542cf4aa0 (diff) | |
download | chromium_src-80498b5e37ca41412d9edf3ff53a2be39b284a72.zip chromium_src-80498b5e37ca41412d9edf3ff53a2be39b284a72.tar.gz chromium_src-80498b5e37ca41412d9edf3ff53a2be39b284a72.tar.bz2 |
New information design for history browse and search entries.
Mock: https://docs.google.com/leaf?id=0B_nT9N2oDUPyNzg4MGFlYTEtYzc2MS00OThjLTk4OTMtOGFkMDlmM2U2ODBi&authkey=CJuQlvQN&hl=en
Entry changes:
- Show the domain (green) for the page and favicon.
- Page title has underline only on hover, and is blue even if visited.
- Page title is truncated to 80 characters.
- A tooltip is shown for truncated titles.
- Fluid bidirectional layout with max-width and text wrapping.
Semantic HTML for accessibility (for screen-readers).
- Headings used for day labels.
- Ordered lists used for day groups or search results.
- Removed table DOM structure used in search results.
Speeding up DOM generation
- Using document fragments for generating day groups
Consistent browse and search entries:
- Same JavaScript method is used to construct both types of entries.
- Shared HTML structure and CSS for both types of entries.
Fixed minor issues with RTL languages (Hebrew and Arabic):
- Wrapping issues for search results.
- Inconsistent bidi layout
Code changes:
- Added domain property to Page class.
- Added getDomainFromURL_ method to Page class.
- Added truncateString_ method to Page class.
- Unified getSearchResultDom and getBrowseResultDom methods.
- Updated getTitleDOM_ method to truncate title and add optional tooltip.
- Updated displayResults_ method to use documentFragment and group into days.
BUG=52697
TEST=none
Review URL: http://codereview.chromium.org/3202002
Patch from Keekim Heng <keekim@google.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.h')
0 files changed, 0 insertions, 0 deletions