Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // A handful of resource-like constants related to the Content application. | 5 // A handful of resource-like constants related to the Content application. |
| 6 | 6 |
| 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
| 8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 8 #define CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
| 9 | 9 |
| 10 #include <stddef.h> // For size_t | 10 #include <stddef.h> // For size_t |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 51 // sends an unprovoked update, such as after a page has been loaded. Using | 51 // sends an unprovoked update, such as after a page has been loaded. Using |
| 52 // this reserved constant avoids any chance of confusion with a response having | 52 // this reserved constant avoids any chance of confusion with a response having |
| 53 // a browser-supplied sequence number. | 53 // a browser-supplied sequence number. |
| 54 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; | 54 CONTENT_EXPORT extern const int kHistogramSynchronizerReservedSequenceNumber; |
| 55 | 55 |
| 56 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialName[]; | 56 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialName[]; |
| 57 CONTENT_EXPORT extern const char | 57 CONTENT_EXPORT extern const char |
| 58 kGpuCompositingFieldTrialForceCompositingEnabledName[]; | 58 kGpuCompositingFieldTrialForceCompositingEnabledName[]; |
| 59 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialThreadEnabledName[]; | 59 CONTENT_EXPORT extern const char kGpuCompositingFieldTrialThreadEnabledName[]; |
| 60 | 60 |
| 61 // Used with WebContent::DownloadImage. | |
| 62 CONTENT_EXPORT enum DownloadImageType { | |
| 63 DOWNLOAD_OTHER, // Regular image loading/decoding. | |
|
brettw
2013/03/19 22:50:14
I think this should be indented 2 spaces.
Dmitry Titov
2013/03/20 01:10:07
Removed the enum per John's suggestion.
| |
| 64 DOWNLOAD_FAVICON, // Disallows sending/accepting cookies. | |
| 65 }; | |
| 66 | |
| 61 } // namespace content | 67 } // namespace content |
| 62 | 68 |
| 63 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ | 69 #endif // CONTENT_PUBLIC_COMMON_CONTENT_CONSTANTS_H_ |
| OLD | NEW |