Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1303)

Issue 6718027: Refactor: Move app/surface to ui/gfx/surface. (Closed)

Created:
9 years, 9 months ago by jonathan.backer
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, jam, apatrick_chromium, darin-cc_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org
Visibility:
Public.

Description

Refactor: Move app/surface to ui/gfx/surface. This is progress towards moving app/gfx/gl to ui/gfx/gl. Currently, surface depends on gl, but gl depends on app_base (which contains surface). This refactor gets rid of this potential cyclic dependency. surface.gyp is in a separate file (not a .gypi include) because cyclic dependency checking is at the file level (not target level). BUG=none TEST=by hand and try bots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79396

Patch Set 1 #

Patch Set 2 : Nit picking. #

Patch Set 3 : Fix lower case hex in MSVS_GUID. #

Patch Set 4 : Lint. #

Total comments: 4

Patch Set 5 : Fix some dependencies. #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -91 lines) Patch
M app/app_base.gypi View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.h View 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/thumbnail_generator_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/mock_render_process.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/nacl_desc_wrapper_chrome.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/render_process_impl.cc View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/accelerated_surface_container_mac.h View 1 2 3 3 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/accelerated_surface_container_mac.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/accelerated_surface_container_manager_mac.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/backing_store.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/backing_store_mac.mm View 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/backing_store_manager.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/backing_store_win.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M content/browser/renderer_host/backing_store_x.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host.h View 2 chunks +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_helper.h View 1 2 3 4 5 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host.h View 1 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view.h View 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/common/common_param_traits.h View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M content/content_renderer.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/plugin/webplugin_accelerated_surface_proxy_mac.cc View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M content/plugin/webplugin_proxy.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M content/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/render_view.h View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/render_widget.h View 3 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/render_widget_browsertest.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.h View 3 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gpu_processor.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + ui/gfx/surface/accelerated_surface_mac.h View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
A + ui/gfx/surface/accelerated_surface_mac.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
A + ui/gfx/surface/io_surface_support_mac.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/gfx/surface/io_surface_support_mac.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A ui/gfx/surface/surface.gyp View 1 2 1 chunk +57 lines, -0 lines 0 comments Download
A + ui/gfx/surface/transport_dib.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/gfx/surface/transport_dib_linux.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
A + ui/gfx/surface/transport_dib_mac.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/gfx/surface/transport_dib_win.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jonathan.backer
This refactor is necessary to give me a finer grained dependency graph (to avoid cyclic ...
9 years, 9 months ago (2011-03-22 15:00:33 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/6718027/diff/5001/content/content_renderer.gypi File content/content_renderer.gypi (right): http://codereview.chromium.org/6718027/diff/5001/content/content_renderer.gypi#newcode20 content/content_renderer.gypi:20: '../ui/gfx/surface/surface.gyp:surface', Hrm. I don't think content depended on app ...
9 years, 9 months ago (2011-03-23 18:41:10 UTC) #2
jonathan.backer
http://codereview.chromium.org/6718027/diff/5001/content/content_renderer.gypi File content/content_renderer.gypi (right): http://codereview.chromium.org/6718027/diff/5001/content/content_renderer.gypi#newcode20 content/content_renderer.gypi:20: '../ui/gfx/surface/surface.gyp:surface', On 2011/03/23 18:41:10, Ben Goodger wrote: > Hrm. ...
9 years, 9 months ago (2011-03-24 13:02:07 UTC) #3
Ben Goodger (Google)
9 years, 9 months ago (2011-03-24 17:27:32 UTC) #4
I am OK with this change so LGTM. Please let John and Avi know about this
dependency.

Powered by Google App Engine
This is Rietveld 408576698