{"action":"created","comment":{"url":"https://api.github.com/repos/atom/electron/pulls/comments/39396307","id":39396307,"diff_hunk":"@@ -13,6 +13,20 @@ var BrowserWindow = require('browser-window');\n var win = new BrowserWindow({ width: 800, height: 600, frame: false });\n ```\n \n+### Alternatives on Mac\n+\n+On Mac OS X 10.10 Yosemite and newer, there’s an alternative way to specify\n+a chromeless window. Instead of setting `frame` to `false` which disables\n+both the titlebar and window controls, you may want to have the title bar\n+hidden and your content extend to the full window size, yet still preserve\n+the window controls (“traffic lights”) for standard window actions.","path":"docs/api/frameless-window.md","position":10,"original_position":10,"commit_id":"1933b6a3fd4824825b45e9f53c08144c559bd5f7","original_commit_id":"1933b6a3fd4824825b45e9f53c08144c559bd5f7","user":{"login":"lipis","id":125676,"avatar_url":"https://avatars.githubusercontent.com/u/125676?v=3","gravatar_id":"","url":"https://api.github.com/users/lipis","html_url":"https://github.com/lipis","followers_url":"https://api.github.com/users/lipis/followers","following_url":"https://api.github.com/users/lipis/following{/other_user}","gists_url":"https://api.github.com/users/lipis/gists{/gist_id}","starred_url":"https://api.github.com/users/lipis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lipis/subscriptions","organizations_url":"https://api.github.com/users/lipis/orgs","repos_url":"https://api.github.com/users/lipis/repos","events_url":"https://api.github.com/users/lipis/events{/privacy}","received_events_url":"https://api.github.com/users/lipis/received_events","type":"User","site_admin":false},"body":"`“` >> `\"`","created_at":"2015-09-14T13:58:31Z","updated_at":"2015-09-14T13:58:31Z","html_url":"https://github.com/atom/electron/pull/2776#discussion_r39396307","pull_request_url":"https://api.github.com/repos/atom/electron/pulls/2776","_links":{"self":{"href":"https://api.github.com/repos/atom/electron/pulls/comments/39396307"},"html":{"href":"https://github.com/atom/electron/pull/2776#discussion_r39396307"},"pull_request":{"href":"https://api.github.com/repos/atom/electron/pulls/2776"}}},"pull_request":{"url":"https://api.github.com/repos/atom/electron/pulls/2776","id":44923116,"html_url":"https://github.com/atom/electron/pull/2776","diff_url":"https://github.com/atom/electron/pull/2776.diff","patch_url":"https://github.com/atom/electron/pull/2776.patch","issue_url":"https://api.github.com/repos/atom/electron/issues/2776","number":2776,"state":"open","locked":false,"title":"Implements #2734 “New API to configure BrowserWindow title bar on Mac”","user":{"login":"jaanus","id":184253,"avatar_url":"https://avatars.githubusercontent.com/u/184253?v=3","gravatar_id":"","url":"https://api.github.com/users/jaanus","html_url":"https://github.com/jaanus","followers_url":"https://api.github.com/users/jaanus/followers","following_url":"https://api.github.com/users/jaanus/following{/other_user}","gists_url":"https://api.github.com/users/jaanus/gists{/gist_id}","starred_url":"https://api.github.com/users/jaanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaanus/subscriptions","organizations_url":"https://api.github.com/users/jaanus/orgs","repos_url":"https://api.github.com/users/jaanus/repos","events_url":"https://api.github.com/users/jaanus/events{/privacy}","received_events_url":"https://api.github.com/users/jaanus/received_events","type":"User","site_admin":false},"body":"New API supported on Yosemite 10.10 and newer.\r\n\r\nTwo new title bar styles:\r\n\r\n    window = new BrowserWindow({width: 600, height: 400, 'title-bar-style': 'hidden'});\r\n<img width=\"712\" alt=\"screen shot 2015-09-14 at 14 17 23\" src=\"https://cloud.githubusercontent.com/assets/184253/9849441/7042cdd4-5aeb-11e5-808c-ea67ae0c4f96.png\">\r\n\r\n    window = new BrowserWindow({width: 600, height: 400, 'title-bar-style': 'hidden-inset'});\r\n<img width=\"712\" alt=\"screen shot 2015-09-14 at 14 17 59\" src=\"https://cloud.githubusercontent.com/assets/184253/9849445/7397d308-5aeb-11e5-896f-08ac7693c8c0.png\">\r\n\r\n","created_at":"2015-09-14T12:19:37Z","updated_at":"2015-09-14T13:58:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86122121bce7c21251bc6a56417f9c354a57507e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atom/electron/pulls/2776/commits","review_comments_url":"https://api.github.com/repos/atom/electron/pulls/2776/comments","review_comment_url":"https://api.github.com/repos/atom/electron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/electron/issues/2776/comments","statuses_url":"https://api.github.com/repos/atom/electron/statuses/1933b6a3fd4824825b45e9f53c08144c559bd5f7","head":{"label":"jaanus:osx-window-titlebar","ref":"osx-window-titlebar","sha":"1933b6a3fd4824825b45e9f53c08144c559bd5f7","user":{"login":"jaanus","id":184253,"avatar_url":"https://avatars.githubusercontent.com/u/184253?v=3","gravatar_id":"","url":"https://api.github.com/users/jaanus","html_url":"https://github.com/jaanus","followers_url":"https://api.github.com/users/jaanus/followers","following_url":"https://api.github.com/users/jaanus/following{/other_user}","gists_url":"https://api.github.com/users/jaanus/gists{/gist_id}","starred_url":"https://api.github.com/users/jaanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaanus/subscriptions","organizations_url":"https://api.github.com/users/jaanus/orgs","repos_url":"https://api.github.com/users/jaanus/repos","events_url":"https://api.github.com/users/jaanus/events{/privacy}","received_events_url":"https://api.github.com/users/jaanus/received_events","type":"User","site_admin":false},"repo":{"id":42411857,"name":"electron","full_name":"jaanus/electron","owner":{"login":"jaanus","id":184253,"avatar_url":"https://avatars.githubusercontent.com/u/184253?v=3","gravatar_id":"","url":"https://api.github.com/users/jaanus","html_url":"https://github.com/jaanus","followers_url":"https://api.github.com/users/jaanus/followers","following_url":"https://api.github.com/users/jaanus/following{/other_user}","gists_url":"https://api.github.com/users/jaanus/gists{/gist_id}","starred_url":"https://api.github.com/users/jaanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaanus/subscriptions","organizations_url":"https://api.github.com/users/jaanus/orgs","repos_url":"https://api.github.com/users/jaanus/repos","events_url":"https://api.github.com/users/jaanus/events{/privacy}","received_events_url":"https://api.github.com/users/jaanus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaanus/electron","description":"Build cross platform desktop apps with web technologies","fork":true,"url":"https://api.github.com/repos/jaanus/electron","forks_url":"https://api.github.com/repos/jaanus/electron/forks","keys_url":"https://api.github.com/repos/jaanus/electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaanus/electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaanus/electron/teams","hooks_url":"https://api.github.com/repos/jaanus/electron/hooks","issue_events_url":"https://api.github.com/repos/jaanus/electron/issues/events{/number}","events_url":"https://api.github.com/repos/jaanus/electron/events","assignees_url":"https://api.github.com/repos/jaanus/electron/assignees{/user}","branches_url":"https://api.github.com/repos/jaanus/electron/branches{/branch}","tags_url":"https://api.github.com/repos/jaanus/electron/tags","blobs_url":"https://api.github.com/repos/jaanus/electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaanus/electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaanus/electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaanus/electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaanus/electron/statuses/{sha}","languages_url":"https://api.github.com/repos/jaanus/electron/languages","stargazers_url":"https://api.github.com/repos/jaanus/electron/stargazers","contributors_url":"https://api.github.com/repos/jaanus/electron/contributors","subscribers_url":"https://api.github.com/repos/jaanus/electron/subscribers","subscription_url":"https://api.github.com/repos/jaanus/electron/subscription","commits_url":"https://api.github.com/repos/jaanus/electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaanus/electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaanus/electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaanus/electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaanus/electron/contents/{+path}","compare_url":"https://api.github.com/repos/jaanus/electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaanus/electron/merges","archive_url":"https://api.github.com/repos/jaanus/electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaanus/electron/downloads","issues_url":"https://api.github.com/repos/jaanus/electron/issues{/number}","pulls_url":"https://api.github.com/repos/jaanus/electron/pulls{/number}","milestones_url":"https://api.github.com/repos/jaanus/electron/milestones{/number}","notifications_url":"https://api.github.com/repos/jaanus/electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaanus/electron/labels{/name}","releases_url":"https://api.github.com/repos/jaanus/electron/releases{/id}","created_at":"2015-09-13T20:34:06Z","updated_at":"2015-09-13T20:34:09Z","pushed_at":"2015-09-14T13:56:33Z","git_url":"git://github.com/jaanus/electron.git","ssh_url":"git@github.com:jaanus/electron.git","clone_url":"https://github.com/jaanus/electron.git","svn_url":"https://github.com/jaanus/electron","homepage":"http://electron.atom.io","size":25268,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atom:master","ref":"master","sha":"4d28fbf5612d94d376f801b1a716488971baf640","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":9384267,"name":"electron","full_name":"atom/electron","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/electron","description":"Build cross platform desktop apps with web technologies","fork":false,"url":"https://api.github.com/repos/atom/electron","forks_url":"https://api.github.com/repos/atom/electron/forks","keys_url":"https://api.github.com/repos/atom/electron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/electron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/electron/teams","hooks_url":"https://api.github.com/repos/atom/electron/hooks","issue_events_url":"https://api.github.com/repos/atom/electron/issues/events{/number}","events_url":"https://api.github.com/repos/atom/electron/events","assignees_url":"https://api.github.com/repos/atom/electron/assignees{/user}","branches_url":"https://api.github.com/repos/atom/electron/branches{/branch}","tags_url":"https://api.github.com/repos/atom/electron/tags","blobs_url":"https://api.github.com/repos/atom/electron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/electron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/electron/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/electron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/electron/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/electron/languages","stargazers_url":"https://api.github.com/repos/atom/electron/stargazers","contributors_url":"https://api.github.com/repos/atom/electron/contributors","subscribers_url":"https://api.github.com/repos/atom/electron/subscribers","subscription_url":"https://api.github.com/repos/atom/electron/subscription","commits_url":"https://api.github.com/repos/atom/electron/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/electron/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/electron/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/electron/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/electron/contents/{+path}","compare_url":"https://api.github.com/repos/atom/electron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/electron/merges","archive_url":"https://api.github.com/repos/atom/electron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/electron/downloads","issues_url":"https://api.github.com/repos/atom/electron/issues{/number}","pulls_url":"https://api.github.com/repos/atom/electron/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/electron/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/electron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/electron/labels{/name}","releases_url":"https://api.github.com/repos/atom/electron/releases{/id}","created_at":"2013-04-12T01:47:36Z","updated_at":"2015-09-14T13:58:02Z","pushed_at":"2015-09-14T13:56:35Z","git_url":"git://github.com/atom/electron.git","ssh_url":"git@github.com:atom/electron.git","clone_url":"https://github.com/atom/electron.git","svn_url":"https://github.com/atom/electron","homepage":"http://electron.atom.io","size":25268,"stargazers_count":16324,"watchers_count":16324,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1350,"mirror_url":null,"open_issues_count":253,"forks":1350,"open_issues":253,"watchers":16324,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/electron/pulls/2776"},"html":{"href":"https://github.com/atom/electron/pull/2776"},"issue":{"href":"https://api.github.com/repos/atom/electron/issues/2776"},"comments":{"href":"https://api.github.com/repos/atom/electron/issues/2776/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/electron/pulls/2776/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/electron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/electron/pulls/2776/commits"},"statuses":{"href":"https://api.github.com/repos/atom/electron/statuses/1933b6a3fd4824825b45e9f53c08144c559bd5f7"}}}}