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

Side by Side Diff: content/common/content_constants_internal.h

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months 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
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/content_constants_internal.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 // How long to wait before we consider a renderer hung. 15 // How long to wait before we consider a renderer hung.
16 CONTENT_EXPORT extern const int64_t kHungRendererDelayMs; 16 CONTENT_EXPORT extern const int64_t kHungRendererDelayMs;
17 17
18 // How long to wait for newly loaded content to send a compositor frame 18 // How long to wait for newly loaded content to send a compositor frame
19 // before clearing previously displayed graphics. 19 // before clearing previously displayed graphics.
20 extern const int64_t kNewContentRenderingDelayMs; 20 extern const int64_t kNewContentRenderingDelayMs;
21 21
22 // The maximum plugin width and height.
23 extern const uint16_t kMaxPluginSideLength;
24 // The maximum plugin size, defined as the number of pixels occupied by the
25 // plugin.
26 extern const uint32_t kMaxPluginSize;
27
28 // The maximum length of string as data url. 22 // The maximum length of string as data url.
29 extern const size_t kMaxLengthOfDataURLString; 23 extern const size_t kMaxLengthOfDataURLString;
30 24
31 // Constants used to organize content processes in about:tracing. 25 // Constants used to organize content processes in about:tracing.
32 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex; 26 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex;
33 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex; 27 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex;
34 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex;
35 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex; 28 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex;
36 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex; 29 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex;
37 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex; 30 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex;
38 31
39 // Constants used to organize content threads in about:tracing. 32 // Constants used to organize content threads in about:tracing.
40 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex; 33 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex;
41 34
42 } // namespace content 35 } // namespace content
43 36
44 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ 37 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/content_constants_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698