summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webtextinput.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 22:02:34 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-13 22:02:34 +0000
commit144199d5848b185b9e7f3f73374bde01eefeedb7 (patch)
tree8dfad57ce2d13502802c81d25e9a751905ac665e /webkit/glue/webtextinput.h
parenta8f914871101974a4856248630c08454b7a7d294 (diff)
downloadchromium_src-144199d5848b185b9e7f3f73374bde01eefeedb7.zip
chromium_src-144199d5848b185b9e7f3f73374bde01eefeedb7.tar.gz
chromium_src-144199d5848b185b9e7f3f73374bde01eefeedb7.tar.bz2
revert r16006 due to msvc warning.
TBR=playmobil Review URL: http://codereview.chromium.org/113367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webtextinput.h')
-rw-r--r--webkit/glue/webtextinput.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/glue/webtextinput.h b/webkit/glue/webtextinput.h
index 2e69874..60dfa7a 100644
--- a/webkit/glue/webtextinput.h
+++ b/webkit/glue/webtextinput.h
@@ -7,7 +7,6 @@
#include <string>
#include "base/basictypes.h"
-#include "base/string16.h"
class WebTextInput {
public:
@@ -15,13 +14,13 @@ class WebTextInput {
virtual ~WebTextInput() {}
// Inserts text to the associated frame.
- virtual void InsertText(const string16& text) = 0;
+ virtual void InsertText(const std::string& text) = 0;
// Executes the given editing command on the frame.
- virtual void DoCommand(const string16& command) = 0;
+ virtual void DoCommand(const std::string& command) = 0;
// Sets marked text region on the frame.
- virtual void SetMarkedText(const string16& text,
+ virtual void SetMarkedText(const std::string& text,
int32_t location, int32_t length) = 0;
// Clears the marked text region on the frame.