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

Issue 23444051: Move the content-dependent RecreateLayer logic from aura::Window to RWHVA (Closed)

Created:
7 years, 3 months ago by piman
Modified:
7 years, 3 months ago
Reviewers:
danakj, sky
CC:
chromium-reviews, joi+watch-content_chromium.org, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, jam, penghuang+watch_chromium.org, dcheng, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Move the content-dependent RecreateLayer logic from aura::Window to RWHVA aura::Window is the wrong place to reason about all the different types of external data that can go into layer, its delegate (RWHVA) is better suited. So move that logic there. BUG=263068 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222735

Patch Set 1 #

Patch Set 2 : fix aura_demo #

Patch Set 3 : fix linux_aura #

Total comments: 7

Patch Set 4 : Better comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -103 lines) Patch
M ash/display/mirror_window_controller.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M ash/drag_drop/drag_drop_controller.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M ash/root_window_controller.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 2 chunks +49 lines, -21 lines 0 comments Download
M content/browser/web_contents/aura/image_window_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/aura/image_window_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download
M ui/aura/demo/demo_main.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M ui/aura/test/test_window_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/aura/test/test_window_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/aura/window.cc View 3 chunks +3 lines, -38 lines 0 comments Download
M ui/aura/window_delegate.h View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
piman
danakj: please review sky: OWNERS for ui/ and ash/ Note: the only "meat" is in ...
7 years, 3 months ago (2013-09-11 00:00:03 UTC) #1
sky
LGTM https://codereview.chromium.org/23444051/diff/11001/ui/aura/window_delegate.h File ui/aura/window_delegate.h (right): https://codereview.chromium.org/23444051/diff/11001/ui/aura/window_delegate.h#newcode99 ui/aura/window_delegate.h:99: // Called from RecreateLayer() if the layer the ...
7 years, 3 months ago (2013-09-11 01:57:23 UTC) #2
danakj
LGTM on the code moving. Can you clarify a couple things for me though for ...
7 years, 3 months ago (2013-09-11 17:55:05 UTC) #3
piman
On 2013/09/11 17:55:05, danakj wrote: > LGTM on the code moving. Can you clarify a ...
7 years, 3 months ago (2013-09-11 20:42:05 UTC) #4
danakj
On Wed, Sep 11, 2013 at 4:42 PM, <piman@chromium.org> wrote: > On 2013/09/11 17:55:05, danakj ...
7 years, 3 months ago (2013-09-11 20:45:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/23444051/27001
7 years, 3 months ago (2013-09-12 00:49:14 UTC) #6
piman
https://codereview.chromium.org/23444051/diff/11001/content/browser/renderer_host/render_widget_host_view_aura.cc File content/browser/renderer_host/render_widget_host_view_aura.cc (right): https://codereview.chromium.org/23444051/diff/11001/content/browser/renderer_host/render_widget_host_view_aura.cc#newcode2507 content/browser/renderer_host/render_widget_host_view_aura.cc:2507: // crbug.com/175211. On 2013/09/11 17:55:05, danakj wrote: > This ...
7 years, 3 months ago (2013-09-12 01:02:33 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-09-12 06:23:19 UTC) #8
Message was sent while issue was closed.
Change committed as 222735

Powered by Google App Engine
This is Rietveld 408576698