summaryrefslogtreecommitdiffstats
path: root/tools/ipc_fuzzer
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@chromium.org>2014-08-27 23:50:36 -0400
committerSadrul Habib Chowdhury <sadrul@chromium.org>2014-08-28 03:51:28 +0000
commit2f8807f697e2c043c857ec37c43d45573d239d8f (patch)
tree3e067a88970845d20d703c94d8ca7afbdc1445e9 /tools/ipc_fuzzer
parent99492bedc3bd5ac3a26b12fbf7599a55086a998e (diff)
downloadchromium_src-2f8807f697e2c043c857ec37c43d45573d239d8f.zip
chromium_src-2f8807f697e2c043c857ec37c43d45573d239d8f.tar.gz
chromium_src-2f8807f697e2c043c857ec37c43d45573d239d8f.tar.bz2
pdf: Create a separate component for using the pdf pepper plugin.
Create a component necessary for showing PDF in a content-based client. Much of the relevant code currently lives in //chrome/, and is usable by chrome. Moving this code into a separate component in //components/pdf/ allows it to be easily used by other content-clients (e.g. app-shell, athena, etc.). This patch moves PPB_PDF_Impl (implementation for the PPB_PDF interface in ppapi) and the relevant IPC messages in the pdf component. A short summary of the changes in this patch: . Move ppb_pdf_impl.cc|h into //components/pdf from //chrome/renderer/pepper . Put this code in the 'pdf' namespace. This code lives in 'pdf_renderer' target. 'chrome_renderer' depends on this target. . Move the following IPC messages from render_messages.h to pdf_messages.h: - PDFUpdateContentRestrictions - PDFHasUnsupportedFeature - PDFSaveURLAs - PDFModalPromptForPassword Change the prefix of these messages from ChromeViewHostMsg_ to PDFHostMsg_ . Move PDFTabHelper into //components/pdf from //chrome/browser/ui/pdf. Put this code in the 'pdf' namespace. This code lives in 'pdf_browser' target. 'chrome_browser' depends on this target. BUG=401242 R=blundell@chromium.org, raymes@chromium.org, thestig@chromium.org, tsepez@chromium.org TBR=darin@chromium.org for DEPS Review URL: https://codereview.chromium.org/477263003 Cr-Commit-Position: refs/heads/master@{#292313}
Diffstat (limited to 'tools/ipc_fuzzer')
-rw-r--r--tools/ipc_fuzzer/message_lib/DEPS1
-rw-r--r--tools/ipc_fuzzer/message_lib/all_messages.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/ipc_fuzzer/message_lib/DEPS b/tools/ipc_fuzzer/message_lib/DEPS
index ab7d2d5..525a002 100644
--- a/tools/ipc_fuzzer/message_lib/DEPS
+++ b/tools/ipc_fuzzer/message_lib/DEPS
@@ -2,6 +2,7 @@ include_rules = [
"+chrome/common",
"+components/autofill/content/common",
"+components/nacl/common",
+ "+components/pdf/common",
"+components/tracing",
"+components/translate",
"+components/visitedlink/common",
diff --git a/tools/ipc_fuzzer/message_lib/all_messages.h b/tools/ipc_fuzzer/message_lib/all_messages.h
index 46d88b1..afc6455 100644
--- a/tools/ipc_fuzzer/message_lib/all_messages.h
+++ b/tools/ipc_fuzzer/message_lib/all_messages.h
@@ -16,6 +16,7 @@
#include "chrome/common/all_messages.h"
#include "components/autofill/content/common/autofill_messages.h"
#include "components/nacl/common/nacl_host_messages.h"
+#include "components/pdf/common/pdf_messages.h"
#include "components/tracing/tracing_messages.h"
#include "components/translate/content/common/translate_messages.h"
#include "components/visitedlink/common/visitedlink_messages.h"