DescriptionAdd cross-platform API to get the form factor of the device
This API returns whether the device is a phone or a tablet for Android and iOS
(for other platforms, it always returns the device as being desktop). The new
API is placed in //ui rather than //chrome in order to make it accessible to
components.
BUG=312903
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233697
Patch Set 1 #
Total comments: 12
Patch Set 2 : renamed files & variables, formatting change, added gypi exclusion of _desktop.cc #
Total comments: 5
Patch Set 3 : Applied form factor API to other files #
Total comments: 12
Patch Set 4 : relocate form_factor* files and update corresponding changes #Patch Set 5 : remove kTabletUI from chrome/common #
Total comments: 6
Patch Set 6 : make functions under namespace ui #
Total comments: 12
Patch Set 7 : small formatting changes #
Total comments: 4
Patch Set 8 : small formatting changes #
Total comments: 5
Messages
Total messages: 32 (0 generated)
|