New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 662444 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Chrome , Mac
Pri: 1
Type: Bug

Blocking:
issue 436283



Sign in to add a comment

Fix the Web Bluetooth chooser on Chrome apps on non-Mac

Project Member Reported by juncai@chromium.org, Nov 4 2016

Issue description

Currently the Web Bluetooth chooser on Chrome apps on non-Mac machine shows some artifacts, see the screenshot attached. Need to fix it to be the same as the chooser shown on Chrome browser.

 
chooser_on_Chrome_apps_ChromeOS.png
17.9 KB View Download
Summary: Fix the Web Bluetooth chooser on Chrome apps on non-Mac (was: Fix the Web Bluetooth chooser on Chrome apps)
Here are some screenshots.
chooser_on_Chrome_apps_ChromeOS_1.png
17.8 KB View Download
chooser_on_Chrome_apps_ChromeOS_2.png
18.0 KB View Download
chooser_on_Chrome_apps_ChromeOS_3.png
18.2 KB View Download
Screenshot when calling:
DialogDelegate::CreateNonClientFrameView
https://cs.chromium.org/chromium/src/ui/views/window/dialog_delegate.cc?sq=package:chromium&l=192
chooser.png
21.0 KB View Download

Comment 4 Deleted

Project Member

Comment 5 by bugdroid1@chromium.org, Nov 10 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04

commit 3e540deecddbbdc2f857bba72f0fc19bdd4b3f04
Author: juncai <juncai@chromium.org>
Date: Thu Nov 10 01:02:59 2016

Fix the Web Bluetooth chooser when it is used on Chrome apps on non-Mac

This CL adds code to override the views::DialogDelegate::CreateClientView()
and views::DialogDelegate::CreateNonClientFrameView() to fix the artifacts
on the Web Bluetooth chooser when it is used on Chrome apps on non-Mac.

I uploaded some screenshots on the issue page.

BUG= 662444 

Review-Url: https://codereview.chromium.org/2478863003
Cr-Commit-Position: refs/heads/master@{#431120}

[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/chooser_content_view.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/chooser_content_view.h
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/chooser_content_view_unittest.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/constrained_web_dialog_delegate_views.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/extensions/chooser_dialog_view.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/extensions/chooser_dialog_view.h
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/extensions/chooser_dialog_view_unittest.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/chrome/browser/ui/views/website_settings/chooser_bubble_ui_view.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/ui/views/window/dialog_delegate.cc
[modify] https://crrev.com/3e540deecddbbdc2f857bba72f0fc19bdd4b3f04/ui/views/window/dialog_delegate.h

Comment 6 Deleted

Comment 7 by juncai@chromium.org, Nov 10 2016

Status: Fixed (was: Started)

Sign in to add a comment