OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_CHROME_CONSTANTS_H_ | 7 #ifndef CONTENT_COMMON_CHROME_CONSTANTS_H_ |
8 #define CONTENT_COMMON_CHROME_CONSTANTS_H_ | 8 #define CONTENT_COMMON_CHROME_CONSTANTS_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 12 matching lines...) Expand all Loading... | |
23 | 23 |
24 // The maximum number of characters in the URL that we're willing to accept | 24 // The maximum number of characters in the URL that we're willing to accept |
25 // in the browser process. It is set low enough to avoid damage to the browser | 25 // in the browser process. It is set low enough to avoid damage to the browser |
26 // but high enough that a web site can abuse location.hash for a little storage. | 26 // but high enough that a web site can abuse location.hash for a little storage. |
27 // We have different values for "max accepted" and "max displayed" because | 27 // We have different values for "max accepted" and "max displayed" because |
28 // a data: URI may be legitimately massive, but the full URI would kill all | 28 // a data: URI may be legitimately massive, but the full URI would kill all |
29 // known operating systems if you dropped it into a UI control. | 29 // known operating systems if you dropped it into a UI control. |
30 extern const size_t kMaxURLChars; | 30 extern const size_t kMaxURLChars; |
31 extern const size_t kMaxURLDisplayChars; | 31 extern const size_t kMaxURLDisplayChars; |
32 | 32 |
33 // The render view and render process ids associated with the plugin instance. | |
jam
2011/08/31 17:34:42
nit: this comment is a bit vague, since it's not c
ananta
2011/08/31 20:18:14
Done.
| |
34 extern const char kPluginRenderViewId[]; | |
35 extern const char kPluginRenderProcessId[]; | |
36 | |
33 } // namespace content | 37 } // namespace content |
34 | 38 |
35 #endif // CONTENT_COMMON_CHROME_CONSTANTS_H_ | 39 #endif // CONTENT_COMMON_CHROME_CONSTANTS_H_ |
OLD | NEW |