|
Replace TOUCH_UI condition in WebUI with dynamic flag.
Touch-specific builds are being retired. Instead we want to be able to enable touch-friendly UI dynamically. For now I'm adding a --touch-optimized-ui flag which can be used to enable the touch-optimized CSS tweaks we've made to WebUI.
This undoes the tweak to use the non-ChromeOS language UI for touch_ui builds. The conditional HTML for the add-language-overlay-page is non-trivial to convert to something dynamic - I'll do something in a separate changelist.
Also fix a number of issues where overrides of WebUI virtuals (like RenderViewCreated) weren't properly delegating back to their base class (or were delegating to WebUI instead of the immediate base ChromeWebUI).
Also removes the Touch-specific User-Agent string.
BUG= 105315
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112387
Total comments: 5
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+92 lines, -69 lines) |
Patch |
 |
M |
chrome/browser/resources/chromeos/login/screen_gaia_signin.css
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/ntp4/new_tab.html
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/language_add_language_overlay.html
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/language_add_language_overlay.js
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/language_options.css
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/language_options.js
|
View
|
1
2
3
4
|
2 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/options.js
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/options/options_page.css
|
View
|
1
2
3
4
5
|
2 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/shared/js/cr.js
|
View
|
|
4 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/shared/js/cr/ui/card_slider.js
|
View
|
1
|
1 chunk |
+16 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chrome_web_ui.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chrome_web_ui.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/devtools_ui.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/html_dialog_ui.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/new_tab_ui.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/options/options_ui.cc
|
View
|
1
2
3
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/user_agent.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 15 (0 generated)
|