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

Side by Side Diff: content/public/common/previews_state.h

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: remove previews_unspecified Created 4 years 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 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. A value of zero for Previews state means to let the browser
14 // process decide whether or not to request Preview types.
15 enum PreviewsState {
16 SERVER_LOFI_ON = 1 << 0, // Request a Lo-Fi version of the resource
RyanSturm 2016/12/06 19:39:30 See comment on blink version of this.
megjablon 2016/12/06 21:23:47 Done.
17 // from the server.
18 CLIENT_LOFI_ON = 1 << 1, // Request a Lo-Fi version of the resource
19 // from the client.
20 PREVIEWS_OFF = 1 << 2 // Request a normal (non-Preview) version of
21 // the resource.
22 };
23
24 } // namespace content
25
26 #endif // CONTENT_PUBLIC_COMMON_PREVIEWS_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698