Chromium Code Reviews| Index: chrome/common/form_factor.h |
| diff --git a/chrome/common/form_factor.h b/chrome/common/form_factor.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6c778d2ff46d862fa2a3793d37f8496a851fb4c2 |
| --- /dev/null |
| +++ b/chrome/common/form_factor.h |
| @@ -0,0 +1,14 @@ |
| +// 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.
|
| + |
| +#ifndef CHROME_COMMON_FORM_FACTOR_H_ |
| +#define CHROME_COMMON_FORM_FACTOR_H_ |
| + |
| +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.
|
| + Study_FormFactor_DESKTOP = 0, |
| + Study_FormFactor_PHONE = 1, |
| + Study_FormFactor_TABLET = 2 |
| +}; |
| + |
| +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.
|
| + |
| +#endif // CHROME_COMMON_FORM_FACTOR_H_ |