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. | |
14 enum PreviewsState { | |
15 PREVIEWS_UNSPECIFIED = 1 << 0, // Let the browser process decide whether or | |
RyanSturm
2016/12/03 00:28:11
I don't think UNSPECIFIED is necessary, but I migh
megjablon
2016/12/06 00:59:18
Done.
| |
16 // not to request Preview types. | |
17 SERVER_LOFI_ON = 1 << 1, // Request a Lo-Fi version of the resource | |
18 // from the server. | |
19 CLIENT_LOFI_ON = 1 << 2, // Request a Lo-Fi version of the resource | |
20 // from the client. | |
21 PREVIEWS_OFF = 1 << 3 // 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 |