|
|
Simplifies sticky settings code.
Now only file name (for save as PDF) and "AppState" are persisted.
Persistence happens immediately when values change.
AppState is a string generated by the print preview JS that contains data to persist.
Also removes the print settings reset experiment flag.
Makes use of native layer changes in javascript.
Adds AppState object in javascript layer that manages persistance of print preview.
Fixes small bug where UMA stats for print preview destination search widget weren't getting recorded.
BUG= 146476, 136926, 138625
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156432
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+553 lines, -670 lines) |
Patch |
 |
M |
chrome/app/generated_resources.grd
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/about_flags.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/resources/print_preview/data/app_state.js
|
View
|
1
2
|
1 chunk |
+307 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/data/destination_store.js
|
View
|
1
2
|
8 chunks |
+42 lines, -24 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/data/margins.js
|
View
|
1
2
|
3 chunks |
+32 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/data/print_ticket_store.js
|
View
|
1
2
|
13 chunks |
+32 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/data/ticket_items/custom_margins.js
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/metrics.js
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/native_layer.js
|
View
|
1
2
|
8 chunks |
+17 lines, -135 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/print_preview/print_preview.js
|
View
|
1
2
|
5 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/print_preview/print_preview_handler.h
|
View
|
1
2
|
2 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/print_preview/print_preview_handler.cc
|
View
|
1
2
3
|
9 chunks |
+26 lines, -40 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/print_preview/print_preview_handler_unittest.cc
|
View
|
1
2
|
4 chunks |
+0 lines, -143 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/print_preview/sticky_settings.h
|
View
|
1
2
|
3 chunks |
+4 lines, -49 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/print_preview/sticky_settings.cc
|
View
|
1
2
|
4 chunks |
+11 lines, -150 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/webui/print_preview.js
|
View
|
1
2
3
4
|
6 chunks |
+54 lines, -52 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|