summaryrefslogtreecommitdiffstats
path: root/pdf/out_of_process_instance.h
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 22:49:54 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 22:49:54 +0000
commitf1ca5fcb4351c7d8cb4446c1dcc9dfedee69a5dd (patch)
tree885760c5463f1ca54c9aa929e073595a03eedb64 /pdf/out_of_process_instance.h
parenta0c458629a0620ee65948645aa81c9a1dab43c55 (diff)
downloadchromium_src-f1ca5fcb4351c7d8cb4446c1dcc9dfedee69a5dd.zip
chromium_src-f1ca5fcb4351c7d8cb4446c1dcc9dfedee69a5dd.tar.gz
chromium_src-f1ca5fcb4351c7d8cb4446c1dcc9dfedee69a5dd.tar.bz2
Remove most references to VarPrivate/InstancePrivate from OOP PDF
This removes most references to VarPrivate and InstancePrivate from OOP PDF. These APIs are deprecated and we'd like to remove them. In most cases where they are currently used, we can simply switch to using a PostMessage to communicate with the extension. In the case of modal dialogs, these need to run synchronously from the perspective of the PDF engine and so PostMessage isn't sufficient. Right now these calls still use InstancePrivate but we should switch to using a specific private API eventually. BUG=303491 Review URL: https://codereview.chromium.org/286933011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'pdf/out_of_process_instance.h')
-rw-r--r--pdf/out_of_process_instance.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index c4b241c..ada259f 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -23,8 +23,8 @@
#include "ppapi/cpp/graphics_2d.h"
#include "ppapi/cpp/image_data.h"
#include "ppapi/cpp/input_event.h"
+#include "ppapi/cpp/instance.h"
#include "ppapi/cpp/private/find_private.h"
-#include "ppapi/cpp/private/instance_private.h"
#include "ppapi/cpp/private/uma_private.h"
#include "ppapi/cpp/private/var_private.h"
#include "ppapi/cpp/url_loader.h"
@@ -36,7 +36,7 @@ class TextInput_Dev;
namespace chrome_pdf {
-class OutOfProcessInstance : public pp::InstancePrivate,
+class OutOfProcessInstance : public pp::Instance,
public pp::Find_Private,
public pp::Printing_Dev,
public pp::Selection_Dev,
@@ -54,7 +54,6 @@ class OutOfProcessInstance : public pp::InstancePrivate,
virtual void HandleMessage(const pp::Var& message) OVERRIDE;
virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE;
virtual void DidChangeView(const pp::View& view) OVERRIDE;
- virtual pp::Var GetInstanceObject() OVERRIDE;
// pp::Find_Private implementation.
virtual bool StartFind(const std::string& text, bool case_sensitive) OVERRIDE;