|
Tidy up Android's is-tablet functionality.
Remove the code in sync/ that checks if the device is a tablet
and perform the check in the chrome/ layer based upon a
command line switch.
Additionally, rather than looking for a tablet when (not) setting
the Mobile specific user agent, look for --use-mobile-user-agent. The
embedder should set these command line switches as appropriate, so
remove the code that used to set them in the generic process startup.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148091
Total comments: 2
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+24 lines, -23 lines) |
Patch |
 |
M |
chrome/browser/android/chrome_startup_flags.cc
|
View
|
|
2 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/sync/glue/session_model_associator.cc
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_resource_cache_android.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/web_resource/notification_promo.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_content_client.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/common/CommandLine.java
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
sync/util/session_utils_android.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/util/session_utils_android.cc
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|