|
Refactor the code for loading icons into the PageInfoModel.
This code is basically duplicated twice on each platform. This consolidates all
that into PageInfoModel::GetIconImage() and renames the SectionInfo.state to icon_id.
BUG=none
TEST=Page info windows and bubbles work as they did before across all platforms.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61308
Total comments: 27
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+189 lines, -210 lines) |
Patch |
 |
M |
base/mac_util.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/mac_util.mm
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/mac_util_unittest.mm
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/page_info_bubble_controller.h
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/page_info_bubble_controller.mm
|
View
|
|
7 chunks |
+2 lines, -42 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/page_info_bubble_controller_unittest.mm
|
View
|
1
2
|
6 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/page_info_window_mac.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/page_info_window_mac.mm
|
View
|
1
2
3
4
|
4 chunks |
+1 line, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/cocoa/page_info_window_mac_unittest.mm
|
View
|
1
2
|
7 chunks |
+12 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/page_info_bubble_gtk.cc
|
View
|
1
|
3 chunks |
+2 lines, -32 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/page_info_window_gtk.cc
|
View
|
|
3 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/page_info_model.h
|
View
|
1
2
3
4
|
5 chunks |
+46 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/page_info_model.cc
|
View
|
1
2
3
|
13 chunks |
+73 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/page_info_bubble_view.cc
|
View
|
1
2
3
4
|
6 chunks |
+8 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/views/page_info_window_view.cc
|
View
|
1
|
8 chunks |
+7 lines, -26 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|