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

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

Issue 518693002: Fix a crash when saving a <canvas> or <img> image which is large. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CONTENT_EXPORT Created 6 years, 3 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
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 // How long to wait before we consider a renderer hung. 13 // How long to wait before we consider a renderer hung.
14 CONTENT_EXPORT extern const int kHungRendererDelayMs; 14 CONTENT_EXPORT extern const int kHungRendererDelayMs;
15 15
16 // The maximum plugin width and height. 16 // The maximum plugin width and height.
17 extern const uint16 kMaxPluginSideLength; 17 extern const uint16 kMaxPluginSideLength;
18 // The maximum plugin size, defined as the number of pixels occupied by the 18 // The maximum plugin size, defined as the number of pixels occupied by the
19 // plugin. 19 // plugin.
20 extern const uint32 kMaxPluginSize; 20 extern const uint32 kMaxPluginSize;
21 21
22 // The maximum length of string as data url.
23 extern const size_t kMaxLengthOfDataURLString;
24
22 // Constants used to organize content processes in about:tracing. 25 // Constants used to organize content processes in about:tracing.
23 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex; 26 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex;
24 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex; 27 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex;
25 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex; 28 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex;
26 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex; 29 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex;
27 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex; 30 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex;
28 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex; 31 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex;
29 32
30 // Constants used to organize content threads in about:tracing. 33 // Constants used to organize content threads in about:tracing.
31 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex; 34 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex;
32 35
33 } // namespace content 36 } // namespace content
34 37
35 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_ 38 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698