|
Remove net dependency from ui/gfx
ui/gfx/ depended on net/ for two things, SortedDisplayURL and gfx::ElideUrl().
SortedDisplayURL was not used by anything other than its own unit test and is
deleted in this patch. ElideUrl() is only used from
chrome/browser/ui/(gtk|cocoa|views), so this patch moves the functionality up
to chrome/browser/ui/elide_url.(h|cc) and the unit test to
chrome/browser/ui/tests/elide_url_unittest.cc.
R=sky
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247820
Total comments: 1
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+560 lines, -599 lines) |
Patch |
|
M |
build/android/pylib/gtest/filter/ui_unittests_disabled
|
View
|
1
2
3
|
1 chunk |
+0 lines, -15 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/cocoa/status_bubble_mac.mm
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/elide_url.h
|
View
|
1
2
3
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/elide_url.cc
|
View
|
1
2
3
|
1 chunk |
+267 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/gtk/status_bubble_gtk.cc
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
A |
chrome/browser/ui/tests/elide_url_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+164 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/views/status_bubble_views.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gfx/DEPS
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
ui/gfx/gfx.gyp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
ui/gfx/text_elider.h
|
View
|
|
3 chunks |
+1 line, -54 lines |
0 comments
|
Download
|
|
M |
ui/gfx/text_elider.cc
|
View
|
1
|
4 chunks |
+0 lines, -321 lines |
0 comments
|
Download
|
|
M |
ui/gfx/text_elider_unittest.cc
|
View
|
1
2
3
|
13 chunks |
+69 lines, -195 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|