| Index: ppapi/cpp/text_input.h
|
| diff --git a/ppapi/cpp/dev/text_input_dev.h b/ppapi/cpp/text_input.h
|
| similarity index 74%
|
| rename from ppapi/cpp/dev/text_input_dev.h
|
| rename to ppapi/cpp/text_input.h
|
| index ea755977d158dc1125bab80796d6caaa8ad5c692..d22d421780b9f34e079bfa22baf3422005477972 100644
|
| --- a/ppapi/cpp/dev/text_input_dev.h
|
| +++ b/ppapi/cpp/text_input.h
|
| @@ -7,7 +7,7 @@
|
|
|
| #include <string>
|
|
|
| -#include "ppapi/c/dev/ppb_text_input_dev.h"
|
| +#include "ppapi/c/ppb_text_input.h"
|
| #include "ppapi/cpp/instance_handle.h"
|
|
|
| namespace pp {
|
| @@ -15,20 +15,20 @@ namespace pp {
|
| class Rect;
|
| class Instance;
|
|
|
| -// This class allows you to associate the PPP_TextInput_Dev and
|
| -// PPB_TextInput_Dev C-based interfaces with an object. It associates itself
|
| +// This class allows you to associate the PPP_TextInput and
|
| +// PPB_TextInput C-based interfaces with an object. It associates itself
|
| // with the given instance, and registers as the global handler for handling the
|
| -// PPP_TextInput_Dev interface that the browser calls.
|
| +// PPP_TextInput interface that the browser calls.
|
| //
|
| // You would typically use this either via inheritance on your instance:
|
| -// class MyInstance : public pp::Instance, public pp::TextInput_Dev {
|
| -// MyInstance() : pp::TextInput_Dev(this) {
|
| +// class MyInstance : public pp::Instance, public pp::TextInput {
|
| +// MyInstance() : pp::TextInput(this) {
|
| // }
|
| // ...
|
| // };
|
| //
|
| // or by composition:
|
| -// class MyTextInput : public pp::TextInput_Dev {
|
| +// class MyTextInput : public pp::TextInput {
|
| // ...
|
| // };
|
| //
|
| @@ -38,10 +38,10 @@ class Instance;
|
| //
|
| // MyTextInput text_input_;
|
| // };
|
| -class TextInput_Dev {
|
| +class TextInput {
|
| public:
|
| - explicit TextInput_Dev(Instance* instance);
|
| - virtual ~TextInput_Dev();
|
| + explicit TextInput(Instance* instance);
|
| + virtual ~TextInput();
|
|
|
| virtual void RequestSurroundingText(uint32_t desired_number_of_characters);
|
|
|
|
|