summaryrefslogtreecommitdiffstats
path: root/pdf/out_of_process_instance.cc
diff options
context:
space:
mode:
authorraymes <raymes@chromium.org>2015-05-28 18:31:53 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-29 01:32:23 +0000
commit994380bfb0056cd5744ead4e7d5018bc17542235 (patch)
treeeffa7761853ceb5bd83b52147f7def24e2808513 /pdf/out_of_process_instance.cc
parent351d6b2c5d234c814e3d40c0fafebc8ed1f6ea7e (diff)
downloadchromium_src-994380bfb0056cd5744ead4e7d5018bc17542235.zip
chromium_src-994380bfb0056cd5744ead4e7d5018bc17542235.tar.gz
chromium_src-994380bfb0056cd5744ead4e7d5018bc17542235.tar.bz2
Remove unused in-process pepper APIs
Several APIs are now unused after turning on OOP PDF. This removes: Selection_Dev Widget_Dev Scrollbar_Dev Zoom_Dev These APIs only work in-process so we can be sure they aren't used by existing plugins (except possibly the NaCl plugin but they aren't used by that either). BUG=303491 Review URL: https://codereview.chromium.org/1161563002 Cr-Commit-Position: refs/heads/master@{#331904}
Diffstat (limited to 'pdf/out_of_process_instance.cc')
-rw-r--r--pdf/out_of_process_instance.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/pdf/out_of_process_instance.cc b/pdf/out_of_process_instance.cc
index 265c53f..c75d04a 100644
--- a/pdf/out_of_process_instance.cc
+++ b/pdf/out_of_process_instance.cc
@@ -262,7 +262,6 @@ OutOfProcessInstance::OutOfProcessInstance(PP_Instance instance)
: pp::Instance(instance),
pp::Find_Private(this),
pp::Printing_Dev(this),
- pp::Selection_Dev(this),
cursor_(PP_CURSORTYPE_POINTER),
zoom_(1.0),
device_scale_(1.0),
@@ -627,12 +626,6 @@ pp::Var OutOfProcessInstance::GetLinkAtPosition(
return engine_->GetLinkAtPosition(offset_point);
}
-pp::Var OutOfProcessInstance::GetSelectedText(bool html) {
- if (html)
- return pp::Var();
- return engine_->GetSelectedText();
-}
-
uint32_t OutOfProcessInstance::QuerySupportedPrintOutputFormats() {
return engine_->QuerySupportedPrintOutputFormats();
}