| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 "chrome/renderer/chrome_ppb_pdf_impl.h" | 5 #include "chrome/renderer/chrome_ppb_pdf_impl.h" |
| 6 | 6 |
| 7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/common/render_messages.h" | 10 #include "chrome/common/render_messages.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 27 #include "third_party/skia/include/core/SkBitmap.h" | 27 #include "third_party/skia/include/core/SkBitmap.h" |
| 28 #include "ui/base/l10n/l10n_util.h" | 28 #include "ui/base/l10n/l10n_util.h" |
| 29 #include "ui/base/resource/resource_bundle.h" | 29 #include "ui/base/resource/resource_bundle.h" |
| 30 #include "unicode/usearch.h" | 30 #include "unicode/usearch.h" |
| 31 #include "webkit/plugins/ppapi/host_globals.h" | 31 #include "webkit/plugins/ppapi/host_globals.h" |
| 32 #include "webkit/plugins/ppapi/host_resource_tracker.h" | |
| 33 #include "webkit/plugins/ppapi/plugin_delegate.h" | 32 #include "webkit/plugins/ppapi/plugin_delegate.h" |
| 34 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 33 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
| 35 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" | 34 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" |
| 36 | 35 |
| 37 using ppapi::PpapiGlobals; | 36 using ppapi::PpapiGlobals; |
| 38 using webkit::ppapi::HostGlobals; | 37 using webkit::ppapi::HostGlobals; |
| 39 using webkit::ppapi::PluginInstance; | 38 using webkit::ppapi::PluginInstance; |
| 40 using WebKit::WebView; | 39 using WebKit::WebView; |
| 41 using content::RenderThread; | 40 using content::RenderThread; |
| 42 | 41 |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 &SaveAs | 349 &SaveAs |
| 351 }; | 350 }; |
| 352 | 351 |
| 353 // static | 352 // static |
| 354 const PPB_PDF* PPB_PDF_Impl::GetInterface() { | 353 const PPB_PDF* PPB_PDF_Impl::GetInterface() { |
| 355 return &ppb_pdf; | 354 return &ppb_pdf; |
| 356 } | 355 } |
| 357 | 356 |
| 358 } // namespace chrome | 357 } // namespace chrome |
| 359 | 358 |
| OLD | NEW |