New issue
Advanced search Search tips

Issue 632711 link

Starred by 3 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Allow extensions to create frameless windows

Reported by callum.l...@gmail.com, Jul 29 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

Steps to reproduce the problem:
Make a Chrome extension and try to make a frameless window.

What is the expected behavior?

What went wrong?
It can't be done.

WebStore page: 

Did this work before? No 

Chrome version: 51.0.2704.103  Channel: n/a
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0

It's possible for a Chrome extension author to do `chrome.windows.create({ type: 'popup' })` to make a window with no location bar or other browser chrome. But it still has a title bar, so your options for customising the UI are limited.

Currently, you can have a frameless popup by making a Chrome app, or you can have browser integration (tabs, history, etc.) by making a Chrome extension, but you can't have both.

Use case: an extension with a browser action that creates a frameless HUD-style popup window (which auto-closes once interacted with), something like Spotlight or Alfred but for searching within your open tabs or history.

I suggest a new CreateType, named something like "frameless_popup", which creates a popup with no title bar etc. This window would also be allowed to use the -webkit-app-region CSS property to make a draggable region, as documented here: https://developer.chrome.com/apps/app_window

Existing CreateTypes, for reference: https://developer.chrome.com/extensions/windows#type-CreateType
 
Project Member

Comment 1 by sheriffbot@chromium.org, Jul 31 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment