Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: ui/ui.gyp

Issue 50603005: Add cross-platform API to get the form factor of the device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: small formatting changes Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« ui/base/device_form_factor_ios.mm ('K') | « ui/base/ui_base_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ui.gyp
diff --git a/ui/ui.gyp b/ui/ui.gyp
index a38f8590bc6bdbccee0df6a7191094d1967046a6..a9b7d58902067bad82e2d0ff20cd0a0d7e2afde6 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -145,6 +145,10 @@
'base/default_theme_provider.cc',
'base/default_theme_provider.h',
'base/default_theme_provider_mac.mm',
+ 'base/device_form_factor_android.cc',
+ 'base/device_form_factor_desktop.cc',
+ 'base/device_form_factor_ios.mm',
+ 'base/device_form_factor.h',
'base/dragdrop/cocoa_dnd_util.h',
'base/dragdrop/cocoa_dnd_util.mm',
'base/dragdrop/drag_drop_types.h',
@@ -567,6 +571,11 @@
'ui_java',
],
}],
+ ['OS=="android" or OS=="ios"', {
+ 'sources!': [
+ 'base/device_form_factor_desktop.cc'
+ ],
+ }],
['OS=="linux"', {
'libraries': [
'-ldl',
« ui/base/device_form_factor_ios.mm ('K') | « ui/base/ui_base_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698