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

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

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
« no previous file with comments | « content/common/content_constants_internal.h ('k') | content/content_plugin.gypi » ('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 #include "content/common/content_constants_internal.h" 5 #include "content/common/content_constants_internal.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 const int kHungRendererDelayMs = 30000; 9 const int kHungRendererDelayMs = 30000;
10 10
11 const uint16 kMaxPluginSideLength = 1 << 15;
12 // 8m pixels.
13 const uint32 kMaxPluginSize = 8 << 20;
14
11 const int kTraceEventBrowserProcessSortIndex = -6; 15 const int kTraceEventBrowserProcessSortIndex = -6;
12 const int kTraceEventRendererProcessSortIndex = -5; 16 const int kTraceEventRendererProcessSortIndex = -5;
13 const int kTraceEventPluginProcessSortIndex = -4; 17 const int kTraceEventPluginProcessSortIndex = -4;
14 const int kTraceEventPpapiProcessSortIndex = -3; 18 const int kTraceEventPpapiProcessSortIndex = -3;
15 const int kTraceEventPpapiBrokerProcessSortIndex = -2; 19 const int kTraceEventPpapiBrokerProcessSortIndex = -2;
16 const int kTraceEventGpuProcessSortIndex = -1; 20 const int kTraceEventGpuProcessSortIndex = -1;
17 21
18 const int kTraceEventRendererMainThreadSortIndex = -1; 22 const int kTraceEventRendererMainThreadSortIndex = -1;
19 23
20 } // namespace content 24 } // namespace content
OLDNEW
« no previous file with comments | « content/common/content_constants_internal.h ('k') | content/content_plugin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698