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

Issue 110283005: Make aura_demo work on Mac (Closed)

Created:
6 years, 11 months ago by ccameron
Modified:
6 years, 11 months ago
CC:
chromium-reviews, ben+aura_chromium.org, sadrul, dcheng, oshima+watch_chromium.org, kalyank, piman+watch_chromium.org, erikwright+watch_chromium.org
Visibility:
Public.

Description

Make aura_demo work on Mac Fix a few instances where !Windows is assumed to be Linux. Chang many instances of !USE_GTK_MESSAGE_PUMP && !OS_MACOSX && !OS_ANDROID to just USE_AURA (they are equivalent now). Add a very minimal RootWindowHostMac. Of note is that building with Aura requires running "gyp_chromium --no-circular-check" (the circular check is only enabled on Mac, and doesn't work with Aura). Also note that the demo does not work properly unless BGRA support is disabled (in FeatureInfo::InitializeBasicState these extensions can be disabled). BUG=331669 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243392

Patch Set 1 #

Total comments: 1

Patch Set 2 : Incorprate review feedback, fix builds #

Total comments: 4

Patch Set 3 : Incorporate review feedback #

Patch Set 4 : Fix resolve #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -72 lines) Patch
M base/message_loop/message_loop.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M base/run_loop.h View 2 chunks +3 lines, -6 lines 0 comments Download
M base/run_loop.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/app/theme/theme_resources.grd View 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 4 chunks +22 lines, -12 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 3 chunks +14 lines, -5 lines 0 comments Download
M ui/aura/aura.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/env.h View 1 2 3 chunks +0 lines, -7 lines 0 comments Download
M ui/aura/env.cc View 1 2 3 chunks +1 line, -3 lines 0 comments Download
A + ui/aura/root_window_host_mac.h View 1 3 chunks +21 lines, -17 lines 0 comments Download
A ui/aura/root_window_host_mac.mm View 1 1 chunk +122 lines, -0 lines 0 comments Download
M ui/aura/test/test_focus_client.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/window_tree_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/clipboard/clipboard.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M ui/base/clipboard/clipboard_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/custom_data_helper.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ui/base/clipboard/custom_data_helper_mac.mm View 1 chunk +4 lines, -0 lines 0 comments Download
A + ui/base/cursor/cursor_mac.mm View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/base/view_prop.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/screen_mac.mm View 2 chunks +6 lines, -1 line 0 comments Download
M ui/resources/ui_resources.grd View 1 chunk +1 line, -1 line 0 comments Download
M ui/ui.gyp View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M ui/ui_unittests.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Ben Goodger (Google)
https://codereview.chromium.org/110283005/diff/1/chrome/chrome_browser_ui.gypi File chrome/chrome_browser_ui.gypi (right): https://codereview.chromium.org/110283005/diff/1/chrome/chrome_browser_ui.gypi#newcode3269 chrome/chrome_browser_ui.gypi:3269: ['use_aura==1 and OS!="mac"',{ note: we should come up with ...
6 years, 11 months ago (2013-12-31 03:38:08 UTC) #1
ccameron
On 2013/12/31 03:38:08, Ben Goodger (Google) wrote: > https://codereview.chromium.org/110283005/diff/1/chrome/chrome_browser_ui.gypi > File chrome/chrome_browser_ui.gypi (right): > > ...
6 years, 11 months ago (2014-01-03 19:17:27 UTC) #2
ccameron
Thanks! Ptal the current patch. With respect to --no-circular-check, it turns out that that flag ...
6 years, 11 months ago (2014-01-04 21:40:25 UTC) #3
Ben Goodger (Google)
+darin for base
6 years, 11 months ago (2014-01-06 17:34:25 UTC) #4
darin (slow to review)
base/ changes LGTM
6 years, 11 months ago (2014-01-06 17:35:55 UTC) #5
Ben Goodger (Google)
src/chrome/* and src/ui/* lgtm https://codereview.chromium.org/110283005/diff/170001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/110283005/diff/170001/gpu/command_buffer/service/feature_info.cc#newcode405 gpu/command_buffer/service/feature_info.cc:405: #if defined(USE_AURA) && defined(OS_MACOSX) who's ...
6 years, 11 months ago (2014-01-06 17:37:09 UTC) #6
sadrul
A small drive-by question https://codereview.chromium.org/110283005/diff/170001/ui/aura/env.h File ui/aura/env.h (right): https://codereview.chromium.org/110283005/diff/170001/ui/aura/env.h#newcode31 ui/aura/env.h:31: #if defined(USE_AURA) Do you actually ...
6 years, 11 months ago (2014-01-06 17:40:08 UTC) #7
ccameron
Thanks!! https://codereview.chromium.org/110283005/diff/170001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/110283005/diff/170001/gpu/command_buffer/service/feature_info.cc#newcode405 gpu/command_buffer/service/feature_info.cc:405: #if defined(USE_AURA) && defined(OS_MACOSX) On 2014/01/06 17:37:10, Ben ...
6 years, 11 months ago (2014-01-06 19:05:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/110283005/630001
6 years, 11 months ago (2014-01-07 18:53:58 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-07 21:42:11 UTC) #10
Message was sent while issue was closed.
Change committed as 243392

Powered by Google App Engine
This is Rietveld 408576698