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

Issue 10083058: Aura/ash split: Remove hacks and get chrome linking without ash. (Closed)

Created:
8 years, 8 months ago by Elliot Glaysher
Modified:
8 years, 8 months ago
CC:
chromium-reviews, sadrul, hashimoto+watch_chromium.org, ben+watch_chromium.org, aboxhall+watch_chromium.org, tfarina, yoshiki+watch_chromium.org, yuzo+watch_chromium.org, davidbarr+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org
Visibility:
Public.

Description

Recommitting Aura/ash split: Remove hacks and get chrome linking without ash. This changes TestViewsDelegate::CreateNativeWidgetHelper to always return NULL, and for views_examples_exe to use its own subclass that create the desktop implementation. For the first time now, you can do: > build/gyp_chromium -Duse_aura=1 -Duse_ash=0 And get a running chrome. It has lots of issues, especially related to window placement, tab handling, etc, but it pops up and renders web content. Also consolidates most of the desktop behavior into its own class. Also makes views_examples_exe work again. Several of the hacks are no longer needed after Ben's refactoring to support WebView. BUG=116458, 119759 TEST=none First Review URL: http://codereview.chromium.org/10081022 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=133105

Patch Set 1 #

Patch Set 2 : The incremental change. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+377 lines, -171 lines) Patch
M chrome/browser/chrome_browser_main_extra_parts_aura.h View 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_extra_parts_aura.cc View 1 chunk +15 lines, -0 lines 0 comments Download
A + chrome/browser/fullscreen_ash.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/fullscreen_aura.cc View 1 chunk +7 lines, -25 lines 0 comments Download
A + chrome/browser/ui/tabs/dock_info_ash.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/ui/tabs/dock_info_aura.cc View 3 chunks +5 lines, -37 lines 0 comments Download
M chrome/browser/ui/views/accessibility_event_router_views_unittest.cc View 1 chunk +7 lines, -0 lines 0 comments Download
D chrome/browser/ui/views/ash/color_chooser_aura.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/chrome_views_delegate.cc View 2 chunks +13 lines, -0 lines 0 comments Download
A + chrome/browser/ui/views/color_chooser_aura.cc View 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/browser/ui/views/menu_model_adapter_test.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 4 chunks +4 lines, -1 line 0 comments Download
M ui/aura/aura.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A ui/aura/desktop/desktop_stacking_client.h View 1 chunk +32 lines, -0 lines 0 comments Download
A ui/aura/desktop/desktop_stacking_client.cc View 1 chunk +24 lines, -0 lines 0 comments Download
M ui/views/examples/content_client/examples_browser_main_parts.h View 2 chunks +7 lines, -1 line 0 comments Download
M ui/views/examples/content_client/examples_browser_main_parts.cc View 1 3 chunks +15 lines, -30 lines 0 comments Download
M ui/views/test/test_views_delegate.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/test/test_views_delegate.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/views/views_delegate.h View 2 chunks +12 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_native_widget_helper_aura.h View 1 chunk +54 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_native_widget_helper_aura.cc View 1 chunk +78 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 6 chunks +3 lines, -13 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 10 chunks +17 lines, -53 lines 0 comments Download
A ui/views/widget/native_widget_helper_aura.h View 1 chunk +38 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Elliot Glaysher
"This changes TestViewsDelegate::CreateNativeWidgetHelper to always return NULL, and for views_examples_exe to use its own subclass ...
8 years, 8 months ago (2012-04-19 16:37:02 UTC) #1
Ben Goodger (Google)
What changed? -Ben On Thu, Apr 19, 2012 at 9:37 AM, <erg@chromium.org> wrote: > Reviewers: ...
8 years, 8 months ago (2012-04-19 18:26:57 UTC) #2
Elliot Glaysher
Patch set 1 is equivalent to what I committed. Patch set 2 is everything that ...
8 years, 8 months ago (2012-04-19 18:48:42 UTC) #3
Ben Goodger (Google)
LGTM On Thu, Apr 19, 2012 at 11:48 AM, <erg@chromium.org> wrote: > Patch set 1 ...
8 years, 8 months ago (2012-04-19 19:02:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/10083058/31
8 years, 8 months ago (2012-04-19 19:31:45 UTC) #5
commit-bot: I haz the power
Try job failure for 10083058-31 (retry) (retry) on mac_rel for step "browser_tests". It's a second ...
8 years, 8 months ago (2012-04-19 20:43:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/10083058/31
8 years, 8 months ago (2012-04-19 20:47:52 UTC) #7
commit-bot: I haz the power
Try job failure for 10083058-31 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-19 21:51:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/10083058/31
8 years, 8 months ago (2012-04-19 22:36:37 UTC) #9
commit-bot: I haz the power
8 years, 8 months ago (2012-04-20 00:48:33 UTC) #10
Change committed as 133105

Powered by Google App Engine
This is Rietveld 408576698