summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_plugin_delegate.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 15:38:33 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 15:38:33 +0000
commitef7511d1b5cfa9645970a16ff5636827121f15b8 (patch)
tree08218a5a05c2c53787e9bca3457bd969987b933d /webkit/glue/plugins/pepper_plugin_delegate.h
parenta17710f5cf04f0c6505fba73e58e668c71f8c2fa (diff)
downloadchromium_src-ef7511d1b5cfa9645970a16ff5636827121f15b8.zip
chromium_src-ef7511d1b5cfa9645970a16ff5636827121f15b8.tar.gz
chromium_src-ef7511d1b5cfa9645970a16ff5636827121f15b8.tar.bz2
Implement GetDefaultCharSet for Pepper and pull the corresponding PPAPI change.
BUG=52865 TEST=none Review URL: http://codereview.chromium.org/3432021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60292 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_delegate.h')
-rw-r--r--webkit/glue/plugins/pepper_plugin_delegate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_delegate.h b/webkit/glue/plugins/pepper_plugin_delegate.h
index 3393ba0..d650fa9 100644
--- a/webkit/glue/plugins/pepper_plugin_delegate.h
+++ b/webkit/glue/plugins/pepper_plugin_delegate.h
@@ -5,6 +5,8 @@
#ifndef WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_
#define WEBKIT_GLUE_PLUGINS_PEPPER_PLUGIN_DELEGATE_H_
+#include <string>
+
#include "base/callback.h"
#include "base/platform_file.h"
#include "base/ref_counted.h"
@@ -173,6 +175,9 @@ class PluginDelegate {
// switches the plugin to fullscreen.
virtual FullscreenContainer* CreateFullscreenContainer(
PluginInstance* instance) = 0;
+
+ // Returns a string with the name of the default 8-bit char encoding.
+ virtual std::string GetDefaultEncoding() = 0;
};
} // namespace pepper