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

Issue 975043003: [MacViews] Add NativeAppWindowViewsMac and port HideWithApp behavior from NativeAppWindowCocoa. (Closed)

Created:
5 years, 9 months ago by jackhou1
Modified:
5 years, 9 months ago
Reviewers:
tapted, sky
CC:
chromium-reviews, tfarina, chrome-apps-syd-reviews_chromium.org, mac-views-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@views
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MacViews] Add NativeAppWindowViewsMac and port HideWithApp behavior from NativeAppWindowCocoa. Test coverage is provided by native_app_window_cocoa_browsertest.mm which now uses whichever implementation of NativeAppWindow is instantiated. Added a new sources list to minimize having to change BUILD.gn when more files are added. BUG=459877 Committed: https://crrev.com/edb06b840e75515f0ca9d9284fdbfe596ac939fd Cr-Commit-Position: refs/heads/master@{#319153}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 2

Patch Set 3 : Change gypi variable name. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -5 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa_browsertest.mm View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/chrome_app_window_client_views_mac.mm View 1 chunk +2 lines, -2 lines 0 comments Download
A chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h View 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.mm View 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
jackhou1
tapted, could you take a look?
5 years, 9 months ago (2015-03-04 02:09:41 UTC) #2
tapted
+mac-views-reviews :) Can we just run the tests in NativeAppWindowCocoaBrowserTest ? At a glance, there ...
5 years, 9 months ago (2015-03-04 02:27:33 UTC) #3
jackhou1
https://codereview.chromium.org/975043003/diff/1/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac_browsertest.mm File chrome/browser/ui/views/apps/chrome_native_app_window_views_mac_browsertest.mm (right): https://codereview.chromium.org/975043003/diff/1/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac_browsertest.mm#newcode61 chrome/browser/ui/views/apps/chrome_native_app_window_views_mac_browsertest.mm:61: EXPECT_TRUE(ns_window); On 2015/03/04 02:27:33, tapted wrote: > indenting is ...
5 years, 9 months ago (2015-03-04 03:34:55 UTC) #4
tapted
lgtm with the below. Also a bit more in the CL description. E.g. say that ...
5 years, 9 months ago (2015-03-04 04:13:34 UTC) #5
jackhou1
https://codereview.chromium.org/975043003/diff/20001/chrome/chrome_browser_ui.gypi File chrome/chrome_browser_ui.gypi (right): https://codereview.chromium.org/975043003/diff/20001/chrome/chrome_browser_ui.gypi#newcode2309 chrome/chrome_browser_ui.gypi:2309: 'chrome_browser_ui_views_mac_sources': [ On 2015/03/04 04:13:34, tapted wrote: > this ...
5 years, 9 months ago (2015-03-04 04:37:13 UTC) #6
jackhou1
sky, please review for OWNERS of: chrome/browser/ui/BUILD.gn
5 years, 9 months ago (2015-03-04 06:24:31 UTC) #8
sky
LGTM
5 years, 9 months ago (2015-03-04 16:30:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975043003/40001
5 years, 9 months ago (2015-03-04 22:57:33 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-04 23:01:26 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-04 23:02:22 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/edb06b840e75515f0ca9d9284fdbfe596ac939fd
Cr-Commit-Position: refs/heads/master@{#319153}

Powered by Google App Engine
This is Rietveld 408576698