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

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

Issue 423613003: Move strings from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 6 years, 4 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) 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/ppb_pdf_impl.h" 5 #include "chrome/renderer/pepper/ppb_pdf_impl.h"
6 6
7 #include "base/files/scoped_file.h" 7 #include "base/files/scoped_file.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "base/numerics/safe_conversions.h" 9 #include "base/numerics/safe_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "build/build_config.h" 11 #include "build/build_config.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 #include "chrome/renderer/printing/print_web_view_helper.h" 13 #include "chrome/renderer/printing/print_web_view_helper.h"
14 #include "content/app/strings/grit/content_strings.h"
14 #include "content/public/common/child_process_sandbox_support_linux.h" 15 #include "content/public/common/child_process_sandbox_support_linux.h"
15 #include "content/public/common/referrer.h" 16 #include "content/public/common/referrer.h"
16 #include "content/public/renderer/pepper_plugin_instance.h" 17 #include "content/public/renderer/pepper_plugin_instance.h"
17 #include "content/public/renderer/render_thread.h" 18 #include "content/public/renderer/render_thread.h"
18 #include "content/public/renderer/render_view.h" 19 #include "content/public/renderer/render_view.h"
19 #include "grit/webkit_resources.h" 20 #include "grit/webkit_resources.h"
20 #include "grit/webkit_strings.h"
21 #include "ppapi/c/pp_resource.h" 21 #include "ppapi/c/pp_resource.h"
22 #include "ppapi/c/private/ppb_pdf.h" 22 #include "ppapi/c/private/ppb_pdf.h"
23 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" 23 #include "ppapi/c/trusted/ppb_browser_font_trusted.h"
24 #include "ppapi/shared_impl/ppapi_globals.h" 24 #include "ppapi/shared_impl/ppapi_globals.h"
25 #include "ppapi/shared_impl/resource.h" 25 #include "ppapi/shared_impl/resource.h"
26 #include "ppapi/shared_impl/resource_tracker.h" 26 #include "ppapi/shared_impl/resource_tracker.h"
27 #include "ppapi/shared_impl/var.h" 27 #include "ppapi/shared_impl/var.h"
28 #include "third_party/WebKit/public/web/WebDocument.h" 28 #include "third_party/WebKit/public/web/WebDocument.h"
29 #include "third_party/WebKit/public/web/WebElement.h" 29 #include "third_party/WebKit/public/web/WebElement.h"
30 #include "third_party/WebKit/public/web/WebLocalFrame.h" 30 #include "third_party/WebKit/public/web/WebLocalFrame.h"
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 455
456 // static 456 // static
457 void PPB_PDF_Impl::InvokePrintingForInstance(PP_Instance instance_id) { 457 void PPB_PDF_Impl::InvokePrintingForInstance(PP_Instance instance_id) {
458 #if defined(ENABLE_FULL_PRINTING) 458 #if defined(ENABLE_FULL_PRINTING)
459 blink::WebElement element = GetWebElement(instance_id); 459 blink::WebElement element = GetWebElement(instance_id);
460 printing::PrintWebViewHelper* helper = GetPrintWebViewHelper(element); 460 printing::PrintWebViewHelper* helper = GetPrintWebViewHelper(element);
461 if (helper) 461 if (helper)
462 helper->PrintNode(element); 462 helper->PrintNode(element);
463 #endif // ENABLE_FULL_PRINTING 463 #endif // ENABLE_FULL_PRINTING
464 } 464 }
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/pepper_pdf_host.cc ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698