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

Issue 1036173002: Animate showing / hiding the location bar for bookmark apps. (Closed)

Created:
5 years, 9 months ago by benwells
Modified:
5 years, 8 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Animate showing / hiding the location bar for bookmark apps. Bookmark apps no longer toggle whether they support the location bar via the browser features system, which didn't seem correct. Instead they support the location bar feature always but change how the location bar's height to bring it into and out of view. This change also introduces a BookmarkAppBrowserController class to encapsulate all the logic for bookmark apps to modify the browser UI. BUG=463405 Committed: https://crrev.com/a2a8a9f7da0b4f37de73d41fe562c55fcc518f9e Cr-Commit-Position: refs/heads/master@{#324020}

Patch Set 1 #

Patch Set 2 : Tidy up, fix chromeos web app frame #

Patch Set 3 : Mac compile #

Total comments: 4

Patch Set 4 : Feedback #

Total comments: 6

Patch Set 5 : Feedback #

Patch Set 6 : Fix stuffup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -106 lines) Patch
M chrome/browser/extensions/extension_ui_util.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_ui_util.cc View 3 chunks +0 lines, -30 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 8 chunks +22 lines, -28 lines 0 comments Download
M chrome/browser/ui/browser_window.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/browser_window_cocoa.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/browser/ui/extensions/bookmark_app_browser_controller.h View 1 2 3 4 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/extensions/bookmark_app_browser_controller.cc View 1 2 3 4 1 chunk +101 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/bookmark_app_browsertest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/location_bar/location_bar.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.h View 1 2 3 4 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 4 2 chunks +38 lines, -38 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 3 4 5 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 3 4 5 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/base/test_browser_window.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
benwells
5 years, 8 months ago (2015-03-30 11:38:13 UTC) #2
Lei Zhang
+pkasting for chrome/browser/ui/views/location_bar https://codereview.chromium.org/1036173002/diff/40001/chrome/browser/ui/extensions/bookmark_app_browser_controller.cc File chrome/browser/ui/extensions/bookmark_app_browser_controller.cc (right): https://codereview.chromium.org/1036173002/diff/40001/chrome/browser/ui/extensions/bookmark_app_browser_controller.cc#newcode68 chrome/browser/ui/extensions/bookmark_app_browser_controller.cc:68: extensions::ExtensionRegistry::Get(browser_->profile())->GetExtensionById( you can omit extensions:: inside ...
5 years, 8 months ago (2015-03-30 22:17:54 UTC) #4
benwells
https://codereview.chromium.org/1036173002/diff/40001/chrome/browser/ui/extensions/bookmark_app_browser_controller.cc File chrome/browser/ui/extensions/bookmark_app_browser_controller.cc (right): https://codereview.chromium.org/1036173002/diff/40001/chrome/browser/ui/extensions/bookmark_app_browser_controller.cc#newcode68 chrome/browser/ui/extensions/bookmark_app_browser_controller.cc:68: extensions::ExtensionRegistry::Get(browser_->profile())->GetExtensionById( On 2015/03/30 22:17:54, Lei Zhang wrote: > you ...
5 years, 8 months ago (2015-03-31 06:03:00 UTC) #5
benwells
pkasting: ping
5 years, 8 months ago (2015-04-01 02:16:29 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/1036173002/diff/60001/chrome/browser/ui/location_bar/location_bar.h File chrome/browser/ui/location_bar/location_bar.h (right): https://codereview.chromium.org/1036173002/diff/60001/chrome/browser/ui/location_bar/location_bar.h#newcode64 chrome/browser/ui/location_bar/location_bar.h:64: // Updates the state of the location bar. ...
5 years, 8 months ago (2015-04-01 20:27:43 UTC) #7
benwells
thestig: your turn? https://codereview.chromium.org/1036173002/diff/60001/chrome/browser/ui/location_bar/location_bar.h File chrome/browser/ui/location_bar/location_bar.h (right): https://codereview.chromium.org/1036173002/diff/60001/chrome/browser/ui/location_bar/location_bar.h#newcode64 chrome/browser/ui/location_bar/location_bar.h:64: // Updates the state of the ...
5 years, 8 months ago (2015-04-02 00:36:55 UTC) #8
Lei Zhang
lgtm
5 years, 8 months ago (2015-04-02 01:32:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1036173002/80001
5 years, 8 months ago (2015-04-02 01:34:31 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/23632) linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 8 months ago (2015-04-02 02:02:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1036173002/100001
5 years, 8 months ago (2015-04-07 06:32:26 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 8 months ago (2015-04-07 07:10:07 UTC) #18
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 07:10:57 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a2a8a9f7da0b4f37de73d41fe562c55fcc518f9e
Cr-Commit-Position: refs/heads/master@{#324020}

Powered by Google App Engine
This is Rietveld 408576698