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

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

Issue 22723004: Get rid of webkit/plugins/plugin_constants.* and move them to content/public/common/content_constan… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
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 "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_
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_win.cc ('k') | content/common/content_constants_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698