OLD | NEW |
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 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
11 #include <windows.h> | 11 #include <windows.h> |
12 #endif | 12 #endif |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "base/platform_file.h" | 17 #include "base/platform_file.h" |
18 #include "base/string16.h" | 18 #include "base/strings/string16.h" |
19 #include "third_party/WebKit/public/platform/WebCanvas.h" | 19 #include "third_party/WebKit/public/platform/WebCanvas.h" |
20 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" | 20 #include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
21 #include "webkit/glue/webkit_glue_export.h" | 21 #include "webkit/glue/webkit_glue_export.h" |
22 | 22 |
23 class SkBitmap; | 23 class SkBitmap; |
24 class SkCanvas; | 24 class SkCanvas; |
25 | 25 |
26 namespace net { | 26 namespace net { |
27 class URLRequest; | 27 class URLRequest; |
28 } | 28 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 // computed inside the sandbox and thus its not always accurate. | 92 // computed inside the sandbox and thus its not always accurate. |
93 WEBKIT_GLUE_EXPORT size_t MemoryUsageKB(); | 93 WEBKIT_GLUE_EXPORT size_t MemoryUsageKB(); |
94 | 94 |
95 // Converts from zoom factor (zoom percent / 100) to zoom level, where 0 means | 95 // Converts from zoom factor (zoom percent / 100) to zoom level, where 0 means |
96 // no zoom, positive numbers mean zoom in, negatives mean zoom out. | 96 // no zoom, positive numbers mean zoom in, negatives mean zoom out. |
97 WEBKIT_GLUE_EXPORT double ZoomFactorToZoomLevel(double factor); | 97 WEBKIT_GLUE_EXPORT double ZoomFactorToZoomLevel(double factor); |
98 | 98 |
99 } // namespace webkit_glue | 99 } // namespace webkit_glue |
100 | 100 |
101 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ | 101 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ |
OLD | NEW |