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

Side by Side Diff: chrome/renderer/chrome_ppb_pdf_impl.cc

Issue 9015009: Use the new callback tracker and delete the old one (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 11 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
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | ppapi/shared_impl/resource_tracker.h » ('j') | ppapi/shared_impl/tracked_callback.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698