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

Side by Side Diff: webkit/glue/webkit_glue.h

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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 | « webkit/glue/resource_type.cc ('k') | webkit/glue/webkit_glue.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 WEBKIT_GLUE_WEBKIT_GLUE_H_ 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 WebKit::WebFileInfo* web_file_info); 39 WebKit::WebFileInfo* web_file_info);
40 40
41 // Returns a WebCanvas pointer associated with the given Skia canvas. 41 // Returns a WebCanvas pointer associated with the given Skia canvas.
42 WEBKIT_GLUE_EXPORT WebKit::WebCanvas* ToWebCanvas(SkCanvas*); 42 WEBKIT_GLUE_EXPORT WebKit::WebCanvas* ToWebCanvas(SkCanvas*);
43 43
44 // Returns the number of currently-active glyph pages this process is using. 44 // Returns the number of currently-active glyph pages this process is using.
45 // There can be many such pages (maps of 256 character -> glyph) so this is 45 // There can be many such pages (maps of 256 character -> glyph) so this is
46 // used to get memory usage statistics. 46 // used to get memory usage statistics.
47 WEBKIT_GLUE_EXPORT int GetGlyphPageCount(); 47 WEBKIT_GLUE_EXPORT int GetGlyphPageCount();
48 48
49 // Returns an estimate of the memory usage of the renderer process. Different
50 // platforms implement this function differently, and count in different
51 // allocations. Results are not comparable across platforms. The estimate is
52 // computed inside the sandbox and thus its not always accurate.
53 WEBKIT_GLUE_EXPORT size_t MemoryUsageKB();
54
55 } // namespace webkit_glue 49 } // namespace webkit_glue
56 50
57 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 51 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « webkit/glue/resource_type.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698