diff options
author | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 05:35:17 +0000 |
---|---|---|
committer | sail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-05 05:35:17 +0000 |
commit | cb9cc50feb3014fdbd13131bf403c0c4686fd10e (patch) | |
tree | a1cf718d237f26fd86c8a4e79d0e0b7bf8c96f38 /chrome/chrome_browser_ui.gypi | |
parent | 4d11fcde4d6bb6d2a98fedff9e3a4812b0c24e89 (diff) | |
download | chromium_src-cb9cc50feb3014fdbd13131bf403c0c4686fd10e.zip chromium_src-cb9cc50feb3014fdbd13131bf403c0c4686fd10e.tar.gz chromium_src-cb9cc50feb3014fdbd13131bf403c0c4686fd10e.tar.bz2 |
Alternate NTP: Custom bookmark bar drawing
This is the Mac version of this CL:
https://chromiumcodereview.appspot.com/11365075/
This CL makes the following changes to the look of the bookmark bar when it's detached and at the bottom:
- if the bookmark bar is empty then
- the "no items" instruction text is always hidden
- nothing is drawn on the bookmark bar so it looks hidden
- if the bookmark bar is not empty then
- if a theme is present then the theme background color is drawn at 80% opacity
- otherwise the background is left transparent
- a divider is drawn at the top of the bookmark bar
Screenshot:
Normal: http://i.imgur.com/k4J6s.jpg
No Bookmarks: http://i.imgur.com/tKQ1N.jpg
With theme: http://i.imgur.com/wkZzS.jpg
BUG=160843
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11412316
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser_ui.gypi')
-rw-r--r-- | chrome/chrome_browser_ui.gypi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi index d0fa49a..11af939 100644 --- a/chrome/chrome_browser_ui.gypi +++ b/chrome/chrome_browser_ui.gypi @@ -1200,6 +1200,7 @@ 'browser/ui/search/search_model_observer.h', 'browser/ui/search/search_tab_helper.cc', 'browser/ui/search/search_tab_helper.h', + 'browser/ui/search/search_ui.cc', 'browser/ui/search/search_ui.h', 'browser/ui/search_engines/edit_search_engine_controller.cc', 'browser/ui/search_engines/edit_search_engine_controller.h', |