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

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

Issue 8413051: Move PageZoom enum into content/public/common and into the content namespace. Also move content_c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/browser/tab_contents/tab_contents.cc ('k') | content/common/content_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 // A handful of resource-like constants related to the Content application.
6
7 #ifndef CONTENT_COMMON_CHROME_CONSTANTS_H_
8 #define CONTENT_COMMON_CHROME_CONSTANTS_H_
9 #pragma once
10
11 #include <stddef.h> // For size_t
12
13 #include "content/common/content_export.h"
14
15 namespace content {
16
17 CONTENT_EXPORT extern const unsigned int kMaxRendererProcessCount;
18
19 // The maximum number of session history entries per tab.
20 extern const int kMaxSessionHistoryEntries;
21
22 // The maximum number of characters of the document's title that we're willing
23 // to accept in the browser process.
24 extern const size_t kMaxTitleChars;
25
26 // The maximum number of characters in the URL that we're willing to accept
27 // in the browser process. It is set low enough to avoid damage to the browser
28 // but high enough that a web site can abuse location.hash for a little storage.
29 // We have different values for "max accepted" and "max displayed" because
30 // a data: URI may be legitimately massive, but the full URI would kill all
31 // known operating systems if you dropped it into a UI control.
32 CONTENT_EXPORT extern const size_t kMaxURLChars;
33 CONTENT_EXPORT extern const size_t kMaxURLDisplayChars;
34
35 // The render view and render process id associated with the default plugin
36 // instance.
37 CONTENT_EXPORT extern const char kDefaultPluginRenderViewId[];
38 CONTENT_EXPORT extern const char kDefaultPluginRenderProcessId[];
39
40 extern const char kStatsFilename[];
41 extern const int kStatsMaxThreads;
42 extern const int kStatsMaxCounters;
43
44 } // namespace content
45
46 #endif // CONTENT_COMMON_CHROME_CONSTANTS_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents.cc ('k') | content/common/content_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698