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

Issue 436503002: Moved CreateNativeAppWindow from AppWindow::Delegate to AppsClient. (Closed)

Created:
6 years, 4 months ago by Matt Giuca
Modified:
6 years, 4 months ago
Reviewers:
benwells, sky
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Moved CreateNativeAppWindow from AppWindow::Delegate to AppsClient. This refactor deletes AppWindow::Delegate, to simplify the arrangement of classes relating to AppWindow. AppsClient has been moved from apps to apps/ui, and ChromeAppsClient has been moved from chrome/browser/apps to chrome/browser/ui/apps, for DEPS reasons. This is a follow-up to r286514, which saw the rest of AppWindow::Delegate's methods moved into another class. BUG=391137 TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287469

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase. #

Patch Set 3 : Fixed app_browsertest_util. #

Patch Set 4 : Fixed unit_tests. #

Patch Set 5 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -339 lines) Patch
M apps/app_window.h View 1 2 3 4 3 chunks +0 lines, -11 lines 0 comments Download
M apps/app_window.cc View 1 2 3 4 4 chunks +5 lines, -9 lines 0 comments Download
M apps/app_window_registry.cc View 1 chunk +1 line, -1 line 0 comments Download
M apps/apps.gypi View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
D apps/apps_client.h View 1 chunk +0 lines, -49 lines 0 comments Download
D apps/apps_client.cc View 1 chunk +0 lines, -29 lines 0 comments Download
A + apps/ui/apps_client.h View 4 chunks +11 lines, -4 lines 0 comments Download
A + apps/ui/apps_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/app_browsertest_util.cc View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
D chrome/browser/apps/chrome_apps_client.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/browser/apps/chrome_apps_client.cc View 1 chunk +0 lines, -60 lines 0 comments Download
M chrome/browser/browser_process_impl.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/app_window/app_window_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 2 chunks +2 lines, -5 lines 0 comments Download
D chrome/browser/ui/apps/chrome_app_window_delegate.h View 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/ui/apps/chrome_app_window_delegate.cc View 1 chunk +0 lines, -17 lines 0 comments Download
A + chrome/browser/ui/apps/chrome_apps_client.h View 2 chunks +14 lines, -5 lines 0 comments Download
A + chrome/browser/ui/apps/chrome_apps_client.cc View 4 chunks +17 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 3 2 chunks +1 line, -5 lines 0 comments Download
D chrome/browser/ui/cocoa/apps/chrome_app_window_delegate_cocoa.mm View 1 chunk +0 lines, -14 lines 0 comments Download
A + chrome/browser/ui/cocoa/apps/chrome_apps_client_cocoa.mm View 1 chunk +2 lines, -2 lines 0 comments Download
D chrome/browser/ui/views/apps/chrome_app_window_delegate_views.cc View 1 chunk +0 lines, -16 lines 0 comments Download
D chrome/browser/ui/views/apps/chrome_app_window_delegate_views_win.cc View 1 chunk +0 lines, -16 lines 0 comments Download
A + chrome/browser/ui/views/apps/chrome_apps_client_views.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + chrome/browser/ui/views/apps/chrome_apps_client_views_win.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/test/base/testing_browser_process.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (0 generated)
Matt Giuca
I think this is what you want. Please advise (and I will get reviewers for ...
6 years, 4 months ago (2014-07-31 03:24:54 UTC) #1
benwells
lgtm https://codereview.chromium.org/436503002/diff/1/chrome/browser/ui/apps/chrome_apps_client.h File chrome/browser/ui/apps/chrome_apps_client.h (right): https://codereview.chromium.org/436503002/diff/1/chrome/browser/ui/apps/chrome_apps_client.h#newcode13 chrome/browser/ui/apps/chrome_apps_client.h:13: struct DefaultSingletonTraits; Did git cl format change this?
6 years, 4 months ago (2014-07-31 06:23:41 UTC) #2
benwells
lgtm
6 years, 4 months ago (2014-07-31 06:23:42 UTC) #3
Matt Giuca
https://codereview.chromium.org/436503002/diff/1/chrome/browser/ui/apps/chrome_apps_client.h File chrome/browser/ui/apps/chrome_apps_client.h (right): https://codereview.chromium.org/436503002/diff/1/chrome/browser/ui/apps/chrome_apps_client.h#newcode13 chrome/browser/ui/apps/chrome_apps_client.h:13: struct DefaultSingletonTraits; Yes. (And I was forced to run ...
6 years, 4 months ago (2014-07-31 07:13:38 UTC) #4
Matt Giuca
+sky, TBR for browser_process_impl.cc and testing_browser_process.cc (update include for renamed header file).
6 years, 4 months ago (2014-08-01 03:39:18 UTC) #5
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-01 03:39:25 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/436503002/1
6 years, 4 months ago (2014-08-01 03:41:27 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-01 08:17:00 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-01 08:21:40 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/1997)
6 years, 4 months ago (2014-08-01 08:21:41 UTC) #10
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-04 06:32:56 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/436503002/60001
6 years, 4 months ago (2014-08-04 06:33:28 UTC) #12
Matt Giuca
The CQ bit was unchecked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-04 06:52:42 UTC) #13
Matt Giuca
sky, additional TBR for chrome_launcher_controller_unittest.cc (in addition to browser_process_impl.cc and testing_browser_process.cc).
6 years, 4 months ago (2014-08-04 06:54:17 UTC) #14
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-04 06:54:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/436503002/80001
6 years, 4 months ago (2014-08-04 06:55:39 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-04 12:58:46 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-04 13:01:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/914)
6 years, 4 months ago (2014-08-04 13:01:23 UTC) #19
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-05 00:02:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/436503002/80001
6 years, 4 months ago (2014-08-05 00:04:22 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 00:09:54 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 00:14:53 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/1057)
6 years, 4 months ago (2014-08-05 00:14:54 UTC) #24
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-05 01:51:34 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/436503002/100001
6 years, 4 months ago (2014-08-05 01:53:47 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-05 04:58:51 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 05:35:10 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/2928)
6 years, 4 months ago (2014-08-05 05:35:11 UTC) #29
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-05 05:59:28 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/436503002/100001
6 years, 4 months ago (2014-08-05 06:01:07 UTC) #31
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 06:38:28 UTC) #32
Message was sent while issue was closed.
Change committed as 287469

Powered by Google App Engine
This is Rietveld 408576698