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

Issue 2669693002: Minimize headless code that refers to aura. (Closed)

Created:
3 years, 10 months ago by dvallet
Modified:
3 years, 9 months ago
Reviewers:
Eric Seckler, Sami
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove code and minimize references to aura as to facilitate refractoring needed for Mac headless BUG=687407 Review-Url: https://codereview.chromium.org/2669693002 Cr-Commit-Position: refs/heads/master@{#449909} Committed: https://chromium.googlesource.com/chromium/src/+/df183ec6ada211dda086eda5b3bb940f7802ca9f

Patch Set 1 #

Patch Set 2 : removed unnecessary forward decl #

Patch Set 3 : Re-add some methods to avoid log errors #

Patch Set 4 : Remove Headless.gn changes #

Patch Set 5 : Further refractor: Put all aura specific methods in own Platform specific file #

Patch Set 6 : Update to upstream #

Patch Set 7 : Add aura dependencies in BUIL.gn only when use_aura == true" #

Total comments: 12

Patch Set 8 : Removed referenes to headless_window_tree_host and some nits #

Patch Set 9 : Removed references to headless_window_tree_host (+nits) #

Patch Set 10 : remove one window_tree_host reference #

Total comments: 3

Patch Set 11 : Remove GetTopWindowContainingPoint #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -220 lines) Patch
M headless/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +12 lines, -6 lines 0 comments Download
M headless/lib/browser/headless_browser_context_impl.cc View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M headless/lib/browser/headless_browser_impl.h View 1 2 3 4 5 6 7 8 2 chunks +17 lines, -14 lines 0 comments Download
M headless/lib/browser/headless_browser_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +1 line, -17 lines 0 comments Download
A headless/lib/browser/headless_browser_impl_aura.cc View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_browser_main_parts.cc View 1 2 3 4 5 6 7 8 3 chunks +1 line, -16 lines 0 comments Download
M headless/lib/browser/headless_screen.h View 1 2 3 4 5 6 7 8 9 2 chunks +1 line, -27 lines 0 comments Download
M headless/lib/browser/headless_screen.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +3 lines, -112 lines 0 comments Download
M headless/lib/browser/headless_web_contents_impl.h View 1 2 3 4 3 chunks +2 lines, -8 lines 0 comments Download
M headless/lib/browser/headless_web_contents_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +4 lines, -17 lines 0 comments Download
M headless/lib/browser/headless_window_tree_host.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +6 lines, -0 lines 0 comments Download
M headless/lib/browser/headless_window_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 54 (46 generated)
dvallet
This is an initial step to put all aura related code in a single file. ...
3 years, 10 months ago (2017-02-07 03:49:27 UTC) #16
dvallet
PTAL if preferred I can hold on this with the changes that makes it compile ...
3 years, 10 months ago (2017-02-09 06:13:27 UTC) #32
Sami
I think the platform split makes sense. We might want to introduce directories or proper ...
3 years, 10 months ago (2017-02-09 18:08:22 UTC) #37
Eric Seckler
https://codereview.chromium.org/2669693002/diff/120001/headless/lib/browser/headless_browser_impl.h File headless/lib/browser/headless_browser_impl.h (right): https://codereview.chromium.org/2669693002/diff/120001/headless/lib/browser/headless_browser_impl.h#newcode19 headless/lib/browser/headless_browser_impl.h:19: #include "headless/lib/browser/headless_window_tree_host.h" This reflects what Sami mentioned in headless_window_tree_host.h: ...
3 years, 10 months ago (2017-02-09 18:29:39 UTC) #38
dvallet
https://codereview.chromium.org/2669693002/diff/120001/headless/lib/browser/headless_browser_impl.h File headless/lib/browser/headless_browser_impl.h (right): https://codereview.chromium.org/2669693002/diff/120001/headless/lib/browser/headless_browser_impl.h#newcode19 headless/lib/browser/headless_browser_impl.h:19: #include "headless/lib/browser/headless_window_tree_host.h" On 2017/02/09 at 18:29:39, Eric Seckler wrote: ...
3 years, 10 months ago (2017-02-10 05:12:21 UTC) #41
Sami
Thanks, lgtm with a few nits. https://codereview.chromium.org/2669693002/diff/180001/headless/lib/browser/headless_browser_impl.h File headless/lib/browser/headless_browser_impl.h (right): https://codereview.chromium.org/2669693002/diff/180001/headless/lib/browser/headless_browser_impl.h#newcode75 headless/lib/browser/headless_browser_impl.h:75: void PlatformSetWebContents(const gfx::Size& ...
3 years, 10 months ago (2017-02-10 13:53:12 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2669693002/200001
3 years, 10 months ago (2017-02-13 04:46:31 UTC) #51
commit-bot: I haz the power
3 years, 10 months ago (2017-02-13 04:51:11 UTC) #54
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/df183ec6ada211dda086eda5b3bb...

Powered by Google App Engine
This is Rietveld 408576698