Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1514)

Issue 10800054: Add pin icon to the omnibar in windows 8 metro mode. (Closed)

Created:
8 years, 5 months ago by benwells
Modified:
8 years, 5 months ago
Reviewers:
ananta, sky
CC:
chromium-reviews, jennb, tfarina, Dmitry Titov, dcheng, jianli, oshima+watch_chromium.org, chrome-win8-eng_google.com
Visibility:
Public.

Description

Add pin icon to the omnibar in windows 8 metro mode. The pin icon allows pinning and unpinning the start screen. The icon used changes depending on whether the page is currently pinned or not. BUG=129598 TEST=Test pages can be pinned and unpinned from metro mode Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148511

Patch Set 1 #

Total comments: 17

Patch Set 2 : Feedback #

Patch Set 3 : Tidied up #

Total comments: 1

Patch Set 4 : Rebase #

Patch Set 5 : Feedback #

Patch Set 6 : non-win compile #

Patch Set 7 : cros #

Patch Set 8 : Fix mac test #

Patch Set 9 : linux tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -24 lines) Patch
M chrome/app/chrome_command_ids.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 4 chunks +13 lines, -4 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_command_controller.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/view_id_util_browsertest.mm View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/view_id_util_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper.h View 1 2 3 4 2 chunks +13 lines, -1 line 0 comments Download
M chrome/browser/ui/metro_pin_tab_helper.cc View 1 2 4 chunks +12 lines, -4 lines 0 comments Download
A chrome/browser/ui/metro_pinned_state_observer.h View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/ui/toolbar/wrench_menu_model.cc View 1 2 3 4 5 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/view_ids.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 4 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 5 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 6 9 chunks +33 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/location_bar/metro_pin_view.h View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/location_bar/metro_pin_view.cc View 1 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
benwells
8 years, 5 months ago (2012-07-20 12:04:14 UTC) #1
sky
http://codereview.chromium.org/10800054/diff/1/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): http://codereview.chromium.org/10800054/diff/1/chrome/browser/ui/browser.h#newcode103 chrome/browser/ui/browser.h:103: public MetroPinTabHelper::Delegate, I don't like browser implementing an interface ...
8 years, 5 months ago (2012-07-20 16:46:40 UTC) #2
benwells
Thanks for the feedback Scott, I like this CL more now... http://codereview.chromium.org/10800054/diff/1/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): ...
8 years, 5 months ago (2012-07-23 08:03:43 UTC) #3
sky
LGTM http://codereview.chromium.org/10800054/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc File chrome/browser/ui/views/location_bar/location_bar_view.cc (right): http://codereview.chromium.org/10800054/diff/1/chrome/browser/ui/views/location_bar/location_bar_view.cc#newcode1161 chrome/browser/ui/views/location_bar/location_bar_view.cc:1161: View* right_anchor = chrome_to_mobile_view_; On 2012/07/23 08:03:43, benwells ...
8 years, 5 months ago (2012-07-23 16:02:17 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10800054/22001
8 years, 5 months ago (2012-07-25 03:47:30 UTC) #5
commit-bot: I haz the power
Try job failure for 10800054-22001 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-07-25 04:17:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10800054/23020
8 years, 5 months ago (2012-07-25 23:23:23 UTC) #7
commit-bot: I haz the power
Try job failure for 10800054-23020 (retry) on mac_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-26 00:48:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10800054/21006
8 years, 5 months ago (2012-07-26 01:11:26 UTC) #9
commit-bot: I haz the power
Try job failure for 10800054-21006 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 5 months ago (2012-07-26 02:05:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10800054/17006
8 years, 5 months ago (2012-07-26 02:29:05 UTC) #11
commit-bot: I haz the power
8 years, 5 months ago (2012-07-26 03:58:58 UTC) #12
Change committed as 148511

Powered by Google App Engine
This is Rietveld 408576698