Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: ppapi/cpp/text_input.h

Issue 18671004: PPAPI: Move IMEInputEvent and TextInput to stable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698