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

Side by Side Diff: chrome/common/form_factor.h

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: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright
Alexei Svitkine (slow) 2013/10/29 15:26:21 Use the following copyright blob (in all the files
yao 2013/10/29 19:21:57 Done.
2
3 #ifndef CHROME_COMMON_FORM_FACTOR_H_
4 #define CHROME_COMMON_FORM_FACTOR_H_
5
6 enum Study_FormFactor {
Alexei Svitkine (slow) 2013/10/29 15:26:21 This should be a different enum than the variation
yao 2013/10/29 19:21:57 Done.
7 Study_FormFactor_DESKTOP = 0,
8 Study_FormFactor_PHONE = 1,
9 Study_FormFactor_TABLET = 2
10 };
11
12 Study_FormFactor GetFormFactor();
Alexei Svitkine (slow) 2013/10/29 15:26:21 Needs a comment. Mention that on non-Android, non-
yao 2013/10/29 19:21:57 Done.
13
14 #endif // CHROME_COMMON_FORM_FACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698