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

Side by Side Diff: chrome/renderer/pepper/pepper_flash_renderer_host.cc

Issue 1125113002: Remove the unused parts of PPB_PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf-delete-pdf
Patch Set: Created 5 years, 7 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
« no previous file with comments | « chrome/renderer/pepper/chrome_pdf_print_client.h ('k') | components/pdf.gypi » ('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 (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 "chrome/renderer/pepper/pepper_flash_renderer_host.h" 5 #include "chrome/renderer/pepper/pepper_flash_renderer_host.h"
6 6
7 #include <map> 7 #include <map>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "components/pdf/renderer/ppb_pdf_impl.h" 13 #include "components/pdf/renderer/pepper_pdf_host.h"
14 #include "content/public/renderer/pepper_plugin_instance.h" 14 #include "content/public/renderer/pepper_plugin_instance.h"
15 #include "content/public/renderer/render_thread.h" 15 #include "content/public/renderer/render_thread.h"
16 #include "content/public/renderer/renderer_ppapi_host.h" 16 #include "content/public/renderer/renderer_ppapi_host.h"
17 #include "ipc/ipc_message_macros.h" 17 #include "ipc/ipc_message_macros.h"
18 #include "net/http/http_util.h" 18 #include "net/http/http_util.h"
19 #include "ppapi/c/pp_errors.h" 19 #include "ppapi/c/pp_errors.h"
20 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" 20 #include "ppapi/c/trusted/ppb_browser_font_trusted.h"
21 #include "ppapi/host/dispatch_host_message.h" 21 #include "ppapi/host/dispatch_host_message.h"
22 #include "ppapi/proxy/host_dispatcher.h" 22 #include "ppapi/proxy/host_dispatcher.h"
23 #include "ppapi/proxy/ppapi_messages.h" 23 #include "ppapi/proxy/ppapi_messages.h"
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 host_->GetPluginInstance(pp_instance()); 370 host_->GetPluginInstance(pp_instance());
371 if (plugin_instance && 371 if (plugin_instance &&
372 plugin_instance->IsRectTopmost(gfx::Rect( 372 plugin_instance->IsRectTopmost(gfx::Rect(
373 rect.point.x, rect.point.y, rect.size.width, rect.size.height))) 373 rect.point.x, rect.point.y, rect.size.width, rect.size.height)))
374 return PP_OK; 374 return PP_OK;
375 return PP_ERROR_FAILED; 375 return PP_ERROR_FAILED;
376 } 376 }
377 377
378 int32_t PepperFlashRendererHost::OnInvokePrinting( 378 int32_t PepperFlashRendererHost::OnInvokePrinting(
379 ppapi::host::HostMessageContext* host_context) { 379 ppapi::host::HostMessageContext* host_context) {
380 pdf::PPB_PDF_Impl::InvokePrintingForInstance(pp_instance()); 380 pdf::PepperPDFHost::InvokePrintingForInstance(pp_instance());
381 return PP_OK; 381 return PP_OK;
382 } 382 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/chrome_pdf_print_client.h ('k') | components/pdf.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698