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 #ifndef CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ | 5 #ifndef CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ |
6 #define CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ | 6 #define CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ |
7 | 7 |
| 8 #include "base/basictypes.h" |
8 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
9 | 10 |
10 namespace content { | 11 namespace content { |
11 | 12 |
12 // How long to wait before we consider a renderer hung. | 13 // How long to wait before we consider a renderer hung. |
13 CONTENT_EXPORT extern const int kHungRendererDelayMs; | 14 CONTENT_EXPORT extern const int kHungRendererDelayMs; |
14 | 15 |
| 16 // The maximum plugin width and height. |
| 17 extern const uint16 kMaxPluginSideLength; |
| 18 // The maximum plugin size, defined as the number of pixels occupied by the |
| 19 // plugin. |
| 20 extern const uint32 kMaxPluginSize; |
| 21 |
15 // Constants used to organize content processes in about:tracing. | 22 // Constants used to organize content processes in about:tracing. |
16 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex; | 23 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex; |
17 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex; | 24 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex; |
18 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex; | 25 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex; |
19 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex; | 26 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex; |
20 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex; | 27 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex; |
21 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex; | 28 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex; |
22 | 29 |
23 // Constants used to organize content threads in about:tracing. | 30 // Constants used to organize content threads in about:tracing. |
24 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex; | 31 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex; |
25 | 32 |
26 } // namespace content | 33 } // namespace content |
27 | 34 |
28 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ | 35 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ |
OLD | NEW |