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

Issue 423453002: Refactor AppWindow to enable code re-use with launcher pages. (Closed)

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

Description

Refactor AppWindow to enable code re-use with launcher pages. Created a new class AppWebContentsHelper and moved the implementation of several WebContentsDelegate methods (those which are not specific to app windows) from AppWindow to there. AppWindow just calls those methods. This will enable custom launcher pages to implement WebContentsDelegate without duplicating a lot of code from AppWindow. BUG=399116 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287302

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 4

Patch Set 3 : Small fixes. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -65 lines) Patch
A apps/app_web_contents_helper.h View 1 2 1 chunk +76 lines, -0 lines 0 comments Download
A apps/app_web_contents_helper.cc View 1 chunk +114 lines, -0 lines 0 comments Download
M apps/app_window.h View 1 4 chunks +2 lines, -5 lines 0 comments Download
M apps/app_window.cc View 1 2 3 6 chunks +12 lines, -60 lines 0 comments Download
M apps/apps.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Matt Giuca
Part II.
6 years, 4 months ago (2014-07-31 00:14:14 UTC) #1
benwells
https://codereview.chromium.org/423453002/diff/20001/apps/app_web_contents_helper.h File apps/app_web_contents_helper.h (right): https://codereview.chromium.org/423453002/diff/20001/apps/app_web_contents_helper.h#newcode54 apps/app_web_contents_helper.h:54: const extensions::Extension* GetExtension() const; Why is this and browser_context() ...
6 years, 4 months ago (2014-07-31 06:20:29 UTC) #2
Matt Giuca
Oops I prepared this ages ago but forgot to hit Mail. https://codereview.chromium.org/423453002/diff/20001/apps/app_web_contents_helper.h File apps/app_web_contents_helper.h (right): ...
6 years, 4 months ago (2014-08-01 04:49:29 UTC) #3
benwells
lgtm
6 years, 4 months ago (2014-08-04 01:31:35 UTC) #4
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-04 04:51:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/423453002/40001
6 years, 4 months ago (2014-08-04 04:51:19 UTC) #6
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-04 05:38:13 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-04 05:39:16 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device/builds/2292) ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/1606) mac_chromium_compile_dbg ...
6 years, 4 months ago (2014-08-04 05:39:17 UTC) #9
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 4 months ago (2014-08-04 06:00:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/423453002/60001
6 years, 4 months ago (2014-08-04 06:01:54 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium.mac ...
6 years, 4 months ago (2014-08-04 07:59:10 UTC) #12
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 08:04:43 UTC) #13
Message was sent while issue was closed.
Change committed as 287302

Powered by Google App Engine
This is Rietveld 408576698