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

Issue 3133001: Issue 4448: Hide the address bar for popups in ChromeOS (Closed)

Created:
10 years, 4 months ago by stevenjb
Modified:
9 years, 7 months ago
CC:
chromium-reviews, davemoore+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

BUG=chromium-os:4448 - Hide the address bar for popups in ChromeOS (http://code.google.com/p/chromium-os/issues/detail?id=4448) Moved PopupNonClientFrameView to its own file and moved FrameView initialization logic to BrowserFrameChromeos::Init. TEST=See issue. Additionally, ensure that non-chromeos Chrome popup window behavior is unaffected, and that the address bar is still visible for popup windows not generated by apps (e.g popped out google chat windows), on chromeos and non-chromeos. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=56370

Patch Set 1 #

Total comments: 4

Patch Set 2 : Windows fix. #

Patch Set 3 : merge from trunk. #

Patch Set 4 : Merge fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -49 lines) Patch
M chrome/browser/chromeos/frame/browser_frame_chromeos.cc View 2 chunks +14 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/frame/browser_view.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/views/frame/browser_frame_gtk.cc View 1 1 chunk +1 line, -40 lines 0 comments Download
A chrome/browser/views/frame/popup_non_client_frame_view.h View 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/views/frame/popup_non_client_frame_view.cc View 1 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
stevenjb
This is a smaller CL than it appears; I had to move PopupNonClientFrameView to its ...
10 years, 4 months ago (2010-08-09 22:37:50 UTC) #1
DaveMoore
LGTM
10 years, 4 months ago (2010-08-13 12:17:58 UTC) #2
oshima
lgtm http://codereview.chromium.org/3133001/diff/1/5 File chrome/browser/views/frame/popup_non_client_frame_view.cc (right): http://codereview.chromium.org/3133001/diff/1/5#newcode36 chrome/browser/views/frame/popup_non_client_frame_view.cc:36: gfx::Path* window_mask) { indent http://codereview.chromium.org/3133001/diff/1/6 File chrome/browser/views/frame/popup_non_client_frame_view.h (right): ...
10 years, 4 months ago (2010-08-16 19:58:03 UTC) #3
Peter Kasting
Hey guys, just a drive-by. This only hides the address bar for panels, not for ...
10 years, 4 months ago (2010-08-16 20:16:25 UTC) #4
stevenjb
10 years, 4 months ago (2010-08-16 21:00:41 UTC) #5
On 2010/08/16 20:16:25, Peter Kasting wrote:
> Hey guys, just a drive-by.  This only hides the address bar for panels, not
for
> all popups, right?  That's how I read the browser_frame modifications, but if
it
> applies to all popups, that'd be a security problem.
That's correct. There is separate logic for panels that determines when to show
the address bar. Currently that logic only hides the address bar if the panel is
an app or was created by an app (i.e. it was created by something installed by
the user, so hiding the address bar is OK). This CL merely ensures that all
popup windows are of the correct type, allowing the existing logic to work.

All that being said, it's a good concern and I will add a testing note.

Powered by Google App Engine
This is Rietveld 408576698