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

Issue 1455193003: Draw popup window toolbars as only containing a location bar. (Closed)

Created:
5 years, 1 month ago by Peter Kasting
Modified:
5 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@arbitrary_heights
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Draw popup window toolbars as only containing a location bar. The glass frame basically did this, but the opaque frame drew a small "toolbar surround" around the location bar. There was no real benefit to this and it wasn't clear how to handle it for material mode, so I just moved to the simpler presentation everywhere. In the process, this changes the responsibility for drawing the popup-mode location bar border from the location bar to the frame. This allows for a fairly significant simplification of the location bar and related code, e.g. nuking the popup-related functionality entirely from BackgroundWith1PxBorder. BUG=none TEST=On Windows XP, open a popup window. The location bar side edges should simply be a single pixel-wide strip contiguous with the edges of the content area. Committed: https://crrev.com/b8075a8e803b4892a91bff87260cdc03da3a1f22 Cr-Commit-Position: refs/heads/master@{#360708}

Patch Set 1 #

Patch Set 2 : Animation fixes #

Patch Set 3 : Glass cleanups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -284 lines) Patch
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/glass_browser_frame_view.cc View 1 2 4 chunks +67 lines, -45 lines 0 comments Download
M chrome/browser/ui/views/frame/opaque_browser_frame_view.cc View 1 2 5 chunks +62 lines, -93 lines 0 comments Download
M chrome/browser/ui/views/layout_constants.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/location_bar/background_with_1_px_border.h View 2 chunks +3 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/location_bar/background_with_1_px_border.cc View 1 chunk +12 lines, -24 lines 0 comments Download
M chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.h View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/location_bar/location_bar_view.cc View 1 2 15 chunks +47 lines, -63 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.h View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/views/toolbar/toolbar_view.cc View 4 chunks +5 lines, -26 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
Peter Kasting
As I mentioned in the previous CL I sent you, I still need to do ...
5 years, 1 month ago (2015-11-19 00:50:39 UTC) #2
Peter Kasting
Patch set 2 contains a few fixes: * Remove a redundant chunk of code in ...
5 years, 1 month ago (2015-11-19 08:48:14 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455193003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455193003/20001
5 years, 1 month ago (2015-11-19 09:38:21 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/96555) ios_rel_device_ninja on ...
5 years, 1 month ago (2015-11-19 09:40:41 UTC) #7
sky
LGTM
5 years, 1 month ago (2015-11-19 17:35:12 UTC) #8
Peter Kasting
FYI: * I just tested this on Ash. AFAICT this doesn't introduce any new problems, ...
5 years, 1 month ago (2015-11-19 23:04:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455193003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455193003/40001
5 years, 1 month ago (2015-11-19 23:08:36 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years, 1 month ago (2015-11-20 01:14:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455193003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455193003/40001
5 years, 1 month ago (2015-11-20 01:23:12 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-20 01:39:18 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-11-20 01:40:09 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b8075a8e803b4892a91bff87260cdc03da3a1f22
Cr-Commit-Position: refs/heads/master@{#360708}

Powered by Google App Engine
This is Rietveld 408576698