diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 20:25:58 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-08 20:25:58 +0000 |
commit | 538d5e25ac26fd0ad8a9bd3c88713ef9de171ec1 (patch) | |
tree | 1329817add6c62c904b65505b3634034a721b373 /chrome/chrome_browser.gypi | |
parent | 9958a32c22a0a5ae4ec33fbb96e3ce6f46cfc058 (diff) | |
download | chromium_src-538d5e25ac26fd0ad8a9bd3c88713ef9de171ec1.zip chromium_src-538d5e25ac26fd0ad8a9bd3c88713ef9de171ec1.tar.gz chromium_src-538d5e25ac26fd0ad8a9bd3c88713ef9de171ec1.tar.bz2 |
SUMMARY: Create dropdown menu button on Windows Aero frame to be displayed when the user is synced. This is the first step in the multi-profile UI implementation on Windows. The displayed tag consists of two parts:
1. A profile menu button with invisible border and background consisting of text and a dropdown arrow.
2. A tag image displayed on the browser frame beneath the profile menu button.
DETAILED CL DESCRIPTION:
1. Changes to the frame and view
* glass_browser_frame_view
adds the profile_menu button to the frame, along with methods for laying it out, and watching for user name changes.
2. New profile menu button
* profile_menu_button
sets up the actual menu button itself, and provides the method PaintProfileTag that draws the underlying tag image on the browser frame. a better way to do this might be to create a new kind of menu button that combines methods from ImageButton as well as TextButton -- but maybe that's overkill?
Review URL: http://codereview.chromium.org/6490022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r-- | chrome/chrome_browser.gypi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 7606938..3d26810 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -3108,8 +3108,12 @@ 'browser/ui/views/page_info_bubble_view.h', 'browser/ui/views/pinned_contents_info_bubble.cc', 'browser/ui/views/pinned_contents_info_bubble.h', + 'browser/ui/views/profile_menu_button.h', + 'browser/ui/views/profile_menu_button.cc', 'browser/ui/views/profile_menu_model.h', 'browser/ui/views/profile_menu_model.cc', + 'browser/ui/views/profile_tag_view.h', + 'browser/ui/views/profile_tag_view.cc', 'browser/ui/views/reload_button.cc', 'browser/ui/views/reload_button.h', 'browser/ui/views/repost_form_warning_view.cc', |