Jjeremya@chromium.orgRe-enable native UI for {frame:'chrome'} in app windows.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Re-enable native UI for {frame:'chrome'} in app windows. The HTML titlebar is still available as {frame:'experimental-html'} when the --enable-experimental-extensions-apis command line switch is present. R=mihaip@chromium.org BUG=149689 Review URL: https://chromiumcodereview.appspot.com/10917274 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157216 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Move context-sensitive app.window.* functions to app.window.current().* This changes app.window.create() to call back with a wrapper AppWindow object instead of a direct reference to the DOM of the child window. The DOM is still accessible via child.dom. chrome.app.window.create('child.html', function (child) { child.dom.onload = function () { ... } child.maximize(); }) R=mihaip@chromium.org,kalman@chromium.org Review URL: https://chromiumcodereview.appspot.com/10878040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154631 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |