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

Issue 697223003: MacViews: Get chrome/browser/ui/views/frame to compile (Closed)

Created:
6 years, 1 month ago by Andre
Modified:
6 years, 1 month ago
Reviewers:
tapted, sky
CC:
chromium-reviews, tfarina, mac-views-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@constrained
Project:
chromium
Visibility:
Public.

Description

MacViews: Get chrome/browser/ui/views/frame to compile Some fixes to get this subdirectory to compile for MacViews. An aura::Window dependency is moved from BrowserView to BrowserCommandHandlerX11. Hide Ash dependency from ImmersiveModeController. Add Mac implementation of NativeBrowserFrame. Now that we include both BrowserWindow::CreateBrowserWindow definitions in the build, add a new build flag "mac_views_browser" to select between Cocoa and Views browser. BUG=425229 Committed: https://crrev.com/f6158b090dc352608141ba8a9d8f09bbdbf4af88 Cr-Commit-Position: refs/heads/master@{#303299}

Patch Set 1 : #

Patch Set 2 : Rebase. Add mac_views_browser build flag #

Total comments: 37

Patch Set 3 : Fixes for tapted #

Patch Set 4 : Fix chromeos build #

Total comments: 10

Patch Set 5 : Fixes for tapted #

Patch Set 6 : Fix linux bot failures #

Patch Set 7 : Fix MacViews build #

Total comments: 3

Patch Set 8 : Fix linux_chromium_asan_rel #

Total comments: 2

Patch Set 9 : Add DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -172 lines) Patch
M build/common.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/browser_window_factory.mm View 1 2 1 chunk +0 lines, -23 lines 0 comments Download
A + chrome/browser/ui/cocoa/browser_window_factory_cocoa.mm View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_command_handler_x11.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_command_handler_x11.cc View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame.cc View 1 2 3 4 5 6 7 7 chunks +5 lines, -59 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_ash.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_ash.cc View 1 2 3 chunks +11 lines, -7 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_mac.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_frame_mac.mm View 1 2 3 4 5 6 1 chunk +43 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 7 chunks +10 lines, -26 lines 0 comments Download
A chrome/browser/ui/views/frame/browser_window_factory.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_web_view.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/desktop_browser_frame_aura.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/desktop_browser_frame_aura.cc View 1 2 3 chunks +40 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller.h View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash.cc View 1 2 3 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_factory.cc View 1 2 1 chunk +0 lines, -19 lines 0 comments Download
A + chrome/browser/ui/views/frame/immersive_mode_controller_factory_ash.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/views/frame/immersive_mode_controller_factory_mac.cc View 1 2 1 chunk +1 line, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/native_browser_frame.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
A + chrome/browser/ui/views/frame/native_browser_frame_factory_mac.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (8 generated)
Andre
Trent, PTAL.
6 years, 1 month ago (2014-11-03 23:39:01 UTC) #3
tapted
We should add a BUG= to track these conversions. The comments are mostly ways to ...
6 years, 1 month ago (2014-11-04 02:33:43 UTC) #4
Andre
Trent PTAL. Added the bug# to description. https://codereview.chromium.org/697223003/diff/40001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/697223003/diff/40001/build/common.gypi#newcode65 build/common.gypi:65: 'mac_views_browser%': 0, ...
6 years, 1 month ago (2014-11-05 02:04:23 UTC) #6
tapted
lgtm https://codereview.chromium.org/697223003/diff/40001/chrome/browser/ui/views/frame/browser_view.cc File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/697223003/diff/40001/chrome/browser/ui/views/frame/browser_view.cc#newcode1443 chrome/browser/ui/views/frame/browser_view.cc:1443: #if defined(USE_AURA) On 2014/11/05 02:04:23, Andre wrote: > ...
6 years, 1 month ago (2014-11-05 05:00:47 UTC) #7
Andre
https://codereview.chromium.org/697223003/diff/100001/chrome/browser/ui/views/frame/browser_frame_mac.mm File chrome/browser/ui/views/frame/browser_frame_mac.mm (right): https://codereview.chromium.org/697223003/diff/100001/chrome/browser/ui/views/frame/browser_frame_mac.mm#newcode39 chrome/browser/ui/views/frame/browser_frame_mac.mm:39: return 0; On 2014/11/05 05:00:47, tapted wrote: > NOTIMPLEMENTED()? ...
6 years, 1 month ago (2014-11-05 20:55:23 UTC) #8
Andre
sky@ PTAL.
6 years, 1 month ago (2014-11-05 20:59:52 UTC) #10
sky
https://codereview.chromium.org/697223003/diff/160001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/697223003/diff/160001/build/common.gypi#newcode1506 build/common.gypi:1506: # Whether the browser is non-native (using Views Toolkit) ...
6 years, 1 month ago (2014-11-05 22:44:25 UTC) #11
Andre
https://codereview.chromium.org/697223003/diff/160001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/697223003/diff/160001/build/common.gypi#newcode1506 build/common.gypi:1506: # Whether the browser is non-native (using Views Toolkit) ...
6 years, 1 month ago (2014-11-05 23:27:04 UTC) #12
sky
Ugh, ok, LGTM
6 years, 1 month ago (2014-11-05 23:57:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/697223003/160001
6 years, 1 month ago (2014-11-06 00:02:43 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel/builds/8749)
6 years, 1 month ago (2014-11-06 05:21:54 UTC) #17
Andre
Trent, Scott, PTAL. The failure was because window_ was already deleted by the time we ...
6 years, 1 month ago (2014-11-07 06:46:40 UTC) #19
tapted
lgtm - (looks like this is just bringing back a check that used to be ...
6 years, 1 month ago (2014-11-07 08:35:59 UTC) #20
Andre
https://codereview.chromium.org/697223003/diff/200001/chrome/browser/ui/views/frame/browser_command_handler_x11.cc File chrome/browser/ui/views/frame/browser_command_handler_x11.cc (right): https://codereview.chromium.org/697223003/diff/200001/chrome/browser/ui/views/frame/browser_command_handler_x11.cc#newcode21 chrome/browser/ui/views/frame/browser_command_handler_x11.cc:21: if (window) On 2014/11/07 08:35:58, tapted wrote: > Should ...
6 years, 1 month ago (2014-11-07 19:06:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/697223003/220001
6 years, 1 month ago (2014-11-07 20:56:36 UTC) #23
commit-bot: I haz the power
Committed patchset #9 (id:220001)
6 years, 1 month ago (2014-11-07 21:46:27 UTC) #24
commit-bot: I haz the power
6 years, 1 month ago (2014-11-07 21:47:09 UTC) #25
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/f6158b090dc352608141ba8a9d8f09bbdbf4af88
Cr-Commit-Position: refs/heads/master@{#303299}

Powered by Google App Engine
This is Rietveld 408576698