Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Issue 2714063003: views: don't try to SetProperty on NSWindows (Closed)

Created:
3 years, 10 months ago by Elly Fong-Jones
Modified:
3 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, kylix_rd, Sidney San Martín
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

views: don't try to SetProperty on NSWindows BrowserWindow::CreateBrowserWindow should not assume gfx::NativeWindow is aura::Window*, so make the code that requires that conditional on USE_AURA. BUG=None Review-Url: https://codereview.chromium.org/2714063003 Cr-Commit-Position: refs/heads/master@{#453218} Committed: https://chromium.googlesource.com/chromium/src/+/3d421af6056a88ae9516c1b4fae5b30f716aba45

Patch Set 1 #

Total comments: 1

Patch Set 2 : more #if defined #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/ui/views/frame/browser_window_factory.cc View 1 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 14 (8 generated)
Elly Fong-Jones
sky: ptal? cc kylixrd and sdy
3 years, 10 months ago (2017-02-24 16:27:37 UTC) #3
sky
LGTM https://codereview.chromium.org/2714063003/diff/1/chrome/browser/ui/views/frame/browser_window_factory.cc File chrome/browser/ui/views/frame/browser_window_factory.cc (right): https://codereview.chromium.org/2714063003/diff/1/chrome/browser/ui/views/frame/browser_window_factory.cc#newcode28 chrome/browser/ui/views/frame/browser_window_factory.cc:28: view->GetWidget()->GetNativeWindow()->SetProperty( An alternative is to call view->GetWidget()->SetNativeProperty(). That ...
3 years, 10 months ago (2017-02-24 18:35:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2714063003/20001
3 years, 10 months ago (2017-02-24 18:58:31 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/317945)
3 years, 10 months ago (2017-02-24 20:01:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2714063003/20001
3 years, 9 months ago (2017-02-27 14:50:18 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-02-27 15:39:13 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/3d421af6056a88ae9516c1b4fae5...

Powered by Google App Engine
This is Rietveld 408576698