|
First cut at custom user style sheets.
Enabled with the --enable-user-stylesheet flag which
causes chrome to read
<user-data-dir>/<profile>/User StyleSheet/Custom.css
at startup and set it as the user style sheet.
This version never reloads the user style sheet, I'll
have to bring back FileWatcher for that. I also put the user
stylesheet in a subdir because the implementation of
FileWatcher will watch the parent dir (this is what the OS
apis give me) and watching the profile dir will cause
lots of activity.
BUG= 2393
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40882
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+242 lines, -18 lines) |
Patch |
|
M |
chrome/browser/extensions/extension_host.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profile.h
|
View
|
|
4 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profile.cc
|
View
|
1
2
3
4
|
3 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/tab_contents/render_view_host_delegate_helper.cc
|
View
|
|
4 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/tab_contents/tab_contents.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+9 lines, -2 lines |
0 comments
|
Download
|
|
A |
chrome/browser/user_style_sheet_watcher.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/user_style_sheet_watcher.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/user_style_sheet_watcher_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/notification_type.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/test/testing_profile.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
webkit/glue/webpreferences.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|