| 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 #include "webkit/glue/webkit_glue.h" | 5 #include "webkit/glue/webkit_glue.h" |
| 6 | 6 |
| 7 #if defined(OS_WIN) | 7 #if defined(OS_WIN) |
| 8 #include <mlang.h> | 8 #include <mlang.h> |
| 9 #include <objidl.h> | 9 #include <objidl.h> |
| 10 #elif defined(OS_POSIX) && !defined(OS_MACOSX) | 10 #elif defined(OS_POSIX) && !defined(OS_MACOSX) |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "base/strings/string_piece.h" | 26 #include "base/strings/string_piece.h" |
| 27 #include "base/strings/string_tokenizer.h" | 27 #include "base/strings/string_tokenizer.h" |
| 28 #include "base/sys_info.h" | 28 #include "base/sys_info.h" |
| 29 #include "base/utf_string_conversions.h" | 29 #include "base/utf_string_conversions.h" |
| 30 #include "net/base/escape.h" | 30 #include "net/base/escape.h" |
| 31 #include "net/url_request/url_request.h" | 31 #include "net/url_request/url_request.h" |
| 32 #include "skia/ext/platform_canvas.h" | 32 #include "skia/ext/platform_canvas.h" |
| 33 #if defined(OS_MACOSX) | 33 #if defined(OS_MACOSX) |
| 34 #include "skia/ext/skia_utils_mac.h" | 34 #include "skia/ext/skia_utils_mac.h" |
| 35 #endif | 35 #endif |
| 36 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" | 36 #include "third_party/WebKit/public/platform/WebData.h" |
| 37 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileInfo.h" | 37 #include "third_party/WebKit/public/platform/WebFileInfo.h" |
| 38 #include "third_party/WebKit/Source/Platform/chromium/public/WebImage.h" | 38 #include "third_party/WebKit/public/platform/WebImage.h" |
| 39 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" | 39 #include "third_party/WebKit/public/platform/WebRect.h" |
| 40 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 40 #include "third_party/WebKit/public/platform/WebSize.h" |
| 41 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" | 41 #include "third_party/WebKit/public/platform/WebString.h" |
| 42 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 42 #include "third_party/WebKit/public/platform/WebVector.h" |
| 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" |
| 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGlyphCache.h" | 47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGlyphCache.h" |
| 48 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" | 48 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHistoryItem.h" |
| 49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
| 50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintParams.h" | 50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPrintParams.h" |
| 51 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 51 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 52 #if defined(OS_WIN) | 52 #if defined(OS_WIN) |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 base::GetCurrentProcessHandle())); | 228 base::GetCurrentProcessHandle())); |
| 229 return process_metrics->GetPagefileUsage() >> 10; | 229 return process_metrics->GetPagefileUsage() >> 10; |
| 230 } | 230 } |
| 231 #endif | 231 #endif |
| 232 | 232 |
| 233 double ZoomFactorToZoomLevel(double factor) { | 233 double ZoomFactorToZoomLevel(double factor) { |
| 234 return WebView::zoomFactorToZoomLevel(factor); | 234 return WebView::zoomFactorToZoomLevel(factor); |
| 235 } | 235 } |
| 236 | 236 |
| 237 } // namespace webkit_glue | 237 } // namespace webkit_glue |
| OLD | NEW |