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

Issue 503233003: Add AppDelegate::ResizeWebContents (Closed)

Created:
6 years, 3 months ago by hashimoto
Modified:
6 years, 3 months ago
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add AppDelegate::ResizeWebContents To stop directly depending on apps/window_size_sizer from AppWindow. BUG=403726 TBR=cbentzel@chromium.org for include/namespace fix in chrome/browser/prerender/prerender_contents.cc Committed: https://crrev.com/bf20fc68e55897d1caed421fe371d2ad83dd4e34 Cr-Commit-Position: refs/heads/master@{#292091}

Patch Set 1 #

Patch Set 2 : Move web_contents_sizer #

Total comments: 2

Patch Set 3 : Stop using chrome namespace #

Total comments: 2

Patch Set 4 : Call the right function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -126 lines) Patch
M apps/BUILD.gn View 1 2 chunks +0 lines, -9 lines 0 comments Download
M apps/app_window.cc View 2 chunks +1 line, -2 lines 0 comments Download
M apps/apps.gypi View 1 2 chunks +0 lines, -12 lines 0 comments Download
D apps/ui/web_contents_sizer.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
D apps/ui/web_contents_sizer.cc View 1 1 chunk +0 lines, -29 lines 0 comments Download
D apps/ui/web_contents_sizer.mm View 1 1 chunk +0 lines, -25 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/apps/chrome_app_delegate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/apps/chrome_app_delegate.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_tabrestore.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/fullscreen/fullscreen_controller.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
A + chrome/browser/ui/web_contents_sizer.h View 1 2 2 chunks +3 lines, -6 lines 0 comments Download
A + chrome/browser/ui/web_contents_sizer.cc View 1 2 3 chunks +1 line, -5 lines 0 comments Download
A + chrome/browser/ui/web_contents_sizer.mm View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M extensions/browser/app_window/app_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
hashimoto
hashimoto@chromium.org changed reviewers: + benwells@chromium.org
6 years, 3 months ago (2014-08-26 03:58:30 UTC) #1
hashimoto
6 years, 3 months ago (2014-08-26 03:58:30 UTC) #2
benwells
I'd like to also move the resizer file out of apps/, as now only stuff ...
6 years, 3 months ago (2014-08-26 07:24:04 UTC) #3
hashimoto
On 2014/08/26 07:24:04, benwells wrote: > I'd like to also move the resizer file out ...
6 years, 3 months ago (2014-08-26 07:38:05 UTC) #4
benwells
lgtm but you'll need some owners... https://codereview.chromium.org/503233003/diff/20001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): https://codereview.chromium.org/503233003/diff/20001/chrome/browser/prerender/prerender_contents.cc#newcode336 chrome/browser/prerender/prerender_contents.cc:336: chrome::ResizeWebContents(prerender_contents_.get(), size_); I ...
6 years, 3 months ago (2014-08-26 08:33:34 UTC) #5
hashimoto
hashimoto@chromium.org changed reviewers: + pkasting@chromium.org
6 years, 3 months ago (2014-08-26 08:48:58 UTC) #6
hashimoto
Peter, could you review this change as an owner of chrome/browser/ui? https://codereview.chromium.org/503233003/diff/20001/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): ...
6 years, 3 months ago (2014-08-26 08:48:58 UTC) #7
Peter Kasting
https://codereview.chromium.org/503233003/diff/40001/chrome/browser/ui/apps/chrome_app_delegate.cc File chrome/browser/ui/apps/chrome_app_delegate.cc (right): https://codereview.chromium.org/503233003/diff/40001/chrome/browser/ui/apps/chrome_app_delegate.cc#newcode182 chrome/browser/ui/apps/chrome_app_delegate.cc:182: ResizeWebContents(web_contents, size); Won't symbol resolution rules result in this ...
6 years, 3 months ago (2014-08-26 18:05:06 UTC) #8
hashimoto
https://codereview.chromium.org/503233003/diff/40001/chrome/browser/ui/apps/chrome_app_delegate.cc File chrome/browser/ui/apps/chrome_app_delegate.cc (right): https://codereview.chromium.org/503233003/diff/40001/chrome/browser/ui/apps/chrome_app_delegate.cc#newcode182 chrome/browser/ui/apps/chrome_app_delegate.cc:182: ResizeWebContents(web_contents, size); On 2014/08/26 18:05:06, Peter Kasting wrote: > ...
6 years, 3 months ago (2014-08-27 01:47:15 UTC) #9
Peter Kasting
LGTM, although I'm not normally a big fan of global methods, especially when they have ...
6 years, 3 months ago (2014-08-27 01:53:55 UTC) #10
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 3 months ago (2014-08-27 02:28:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/503233003/60001
6 years, 3 months ago (2014-08-27 02:28:55 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-27 03:20:24 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 03:25:45 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/6890)
6 years, 3 months ago (2014-08-27 03:25:47 UTC) #15
hashimoto
hashimoto@chromium.org changed reviewers: + cbentzel@chromium.org
6 years, 3 months ago (2014-08-27 03:27:34 UTC) #16
hashimoto
TBRing cbentzel@chromium.org for include/namespace fix in chrome/browser/prerender/prerender_contents.cc
6 years, 3 months ago (2014-08-27 03:27:48 UTC) #17
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 3 months ago (2014-08-27 03:27:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/503233003/60001
6 years, 3 months ago (2014-08-27 03:28:48 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (60001) as d125d65f007ec2329ebd2af407012c8a2b9a4610
6 years, 3 months ago (2014-08-27 03:34:14 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:49:31 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bf20fc68e55897d1caed421fe371d2ad83dd4e34
Cr-Commit-Position: refs/heads/master@{#292091}

Powered by Google App Engine
This is Rietveld 408576698