OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_PUBLIC_COMMON_PREVIEWS_TYPE_H_ | |
6 #define CONTENT_PUBLIC_COMMON_PREVIEWS_TYPE_H_ | |
7 | |
8 #include "content/common/content_export.h" | |
9 | |
10 namespace content { | |
11 | |
12 // The Previews state which determines whether to request a Preview version of | |
13 // the resource. | |
nasko
2016/12/08 22:19:33
Please explain a bit more what Previews is. As it
megjablon
2016/12/09 20:35:55
I added the description we use elsewhere. There is
| |
14 enum PreviewsState { | |
nasko
2016/12/08 22:19:33
Honestly, Previews does not convey to me the meani
megjablon
2016/12/09 20:35:55
Lo-Fi is a type of Preview. Lo-Fi used to be the o
| |
15 PREVIEWS_UNSPECIFIED = 0, // Let the browser process decide whether or | |
16 // not to request Preview types. | |
17 SERVER_LOFI_ON = 1 << 0, // Request a Lo-Fi version of the resource | |
nasko
2016/12/08 22:19:33
Shouldn't the members be named using Previews inst
megjablon
2016/12/09 20:35:55
These are the previews types that can be applied i
| |
18 // from the server. | |
19 CLIENT_LOFI_ON = 1 << 1, // Request a Lo-Fi version of the resource | |
20 // from the client. | |
21 PREVIEWS_OFF = 1 << 2 // Request a normal (non-Preview) version of | |
22 // the resource. | |
23 }; | |
24 | |
25 } // namespace content | |
26 | |
27 #endif // CONTENT_PUBLIC_COMMON_PREVIEWS_TYPE_H_ | |
OLD | NEW |