Skip to content

Commit

Permalink
Use a framed window on Mac.
Browse files Browse the repository at this point in the history
Since Mac does not support transparency, having a window with no title bar is inconvenient because it can't be dragged aside to access other windows. This CL adds a standard window frame on Mac.

BUG=b/19370387

Review URL: https://codereview.chromium.org/952823003

Cr-Commit-Position: refs/heads/master@{#318128}
  • Loading branch information
jamiewalch authored and Commit bot committed Feb 25, 2015
1 parent 18fc536 commit 6238375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remoting/webapp/app_remoting/js/ar_background.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function createWindow(opt_launchData) {

var windowAttributes = {
resizable: false,
frame: 'none',
frame: remoting.platformIsMac() ? 'chrome' : 'none',
bounds: {
width: typed_screen.availWidth,
height: typed_screen.availHeight
Expand Down

0 comments on commit 6238375

Please sign in to comment.