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

Issue 8196001: content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts. (Closed)

Created:
9 years, 2 months ago by Elliot Glaysher
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Avi (use Gerrit), dpranke+watch-content_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

content: Split web_drag_dest_gtk.cc into chrome/ and content/ parts. This patch doesn't move web_drag_dest_gtk.cc into content/, but does remove all dependencies on chrome/ code. - Split out a delegate interface and move it - cross platform code from chrome/.../bookmark_node_data.cc is moved to ui/.../bookmark_format.h - gtk_util.cc has some layers split into gtk_screen_utils.cc. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105216

Patch Set 1 #

Patch Set 2 : Compile failures? We'll see #

Patch Set 3 : no change, just retrying what I assume are flaky tryjobs #

Patch Set 4 : fix linux views. why does this exist? le sigh. #

Patch Set 5 : :( #

Total comments: 7

Patch Set 6 : jam comments; removes more dnd/bookmark dependencies from WebDragDestGtk. #

Patch Set 7 : Rebase + try to try now that bots are unscrewed. #

Patch Set 8 : Fix viewgtk compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -233 lines) Patch
M chrome/browser/tab_contents/tab_contents_view_gtk.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_view_gtk.cc View 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.cc View 1 2 3 4 5 1 chunk +91 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/web_drag_dest_delegate_gtk.h View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/web_drag_dest_delegate_gtk.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/web_drag_dest_gtk.h View 1 2 3 4 5 4 chunks +6 lines, -12 lines 0 comments Download
M chrome/browser/tab_contents/web_drag_dest_gtk.cc View 1 2 3 4 5 7 chunks +39 lines, -83 lines 0 comments Download
D chrome/browser/tab_contents/web_drag_dest_gtk_unittest.cc View 1 1 chunk +0 lines, -59 lines 0 comments Download
M chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/gtk_util.h View 4 chunks +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/gtk/gtk_util.cc View 4 chunks +0 lines, -47 lines 0 comments Download
M chrome/browser/ui/gtk/tab_contents_drag_source.cc View 1 2 3 4 5 6 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/dragged_view_gtk.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/theme_install_bubble_view_gtk.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/native_tab_contents_view_gtk.cc View 1 2 3 4 5 6 7 3 chunks +16 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
A content/browser/tab_contents/drag_utils_gtk.h View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A content/browser/tab_contents/drag_utils_gtk.cc View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A ui/base/gtk/gtk_screen_utils.h View 1 chunk +26 lines, -0 lines 0 comments Download
A ui/base/gtk/gtk_screen_utils.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Elliot Glaysher
Split the actual moving of the file into another CL.
9 years, 2 months ago (2011-10-11 00:42:34 UTC) #1
jam
http://codereview.chromium.org/8196001/diff/5001/chrome/browser/tab_contents/web_drag_dest_gtk.h File chrome/browser/tab_contents/web_drag_dest_gtk.h (right): http://codereview.chromium.org/8196001/diff/5001/chrome/browser/tab_contents/web_drag_dest_gtk.h#newcode21 chrome/browser/tab_contents/web_drag_dest_gtk.h:21: class WebDragBookmarkDelegate { nit: this should be in its ...
9 years, 2 months ago (2011-10-11 01:42:20 UTC) #2
Elliot Glaysher
http://codereview.chromium.org/8196001/diff/5001/chrome/browser/tab_contents/web_drag_dest_gtk_unittest.cc File chrome/browser/tab_contents/web_drag_dest_gtk_unittest.cc (left): http://codereview.chromium.org/8196001/diff/5001/chrome/browser/tab_contents/web_drag_dest_gtk_unittest.cc#oldcode1 chrome/browser/tab_contents/web_drag_dest_gtk_unittest.cc:1: // Copyright (c) 2011 The Chromium Authors. All rights ...
9 years, 2 months ago (2011-10-11 17:53:57 UTC) #3
Elliot Glaysher
(This patch doesn't have trybots because they're down. I'll run them before I commit though; ...
9 years, 2 months ago (2011-10-11 21:58:13 UTC) #4
jam
lgtm (although I just assumed you moved all the gtk code, I didn't review that ...
9 years, 2 months ago (2011-10-12 19:53:15 UTC) #5
Elliot Glaysher
On 2011/10/12 19:53:15, John Abd-El-Malek wrote: > lgtm (although I just assumed you moved all ...
9 years, 2 months ago (2011-10-12 19:57:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/8196001/14001
9 years, 2 months ago (2011-10-12 20:31:40 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-10-13 00:40:26 UTC) #8
Change committed as 105216

Powered by Google App Engine
This is Rietveld 408576698