Roll src/third_party/WebKit eac3800:0237a66 (svn 202606:202607)
[chromium-blink-merge.git] / content / common / content_constants_internal.h
blob9422b32cb58a5fff2836a89f730093c43b10eac2
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_
6 #define CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
11 namespace content {
13 // How long to wait before we consider a renderer hung.
14 CONTENT_EXPORT extern const int64 kHungRendererDelayMs;
16 // How long to wait for newly loaded content to send a compositor frame
17 // before clearing previously displayed graphics.
18 extern const int64 kNewContentRenderingDelayMs;
20 // The maximum plugin width and height.
21 extern const uint16 kMaxPluginSideLength;
22 // The maximum plugin size, defined as the number of pixels occupied by the
23 // plugin.
24 extern const uint32 kMaxPluginSize;
26 // The maximum length of string as data url.
27 extern const size_t kMaxLengthOfDataURLString;
29 // Constants used to organize content processes in about:tracing.
30 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex;
31 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex;
32 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex;
33 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex;
34 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex;
35 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex;
37 // Constants used to organize content threads in about:tracing.
38 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex;
40 } // namespace content
42 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_