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

Unified Diff: ppapi/proxy/ppp_text_input_proxy.cc

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/proxy/ppp_text_input_proxy.cc
diff --git a/ppapi/proxy/ppp_text_input_proxy.cc b/ppapi/proxy/ppp_text_input_proxy.cc
index 061b73cd4fdb56889da9afdb6320d0c1b10dbcdc..c4fb92263d44a89501a8110ca3d3f7260a3298c6 100644
--- a/ppapi/proxy/ppp_text_input_proxy.cc
+++ b/ppapi/proxy/ppp_text_input_proxy.cc
@@ -4,7 +4,7 @@
#include "ppapi/proxy/ppp_text_input_proxy.h"
-#include "ppapi/c/dev/ppp_text_input_dev.h"
+#include "ppapi/c/ppp_text_input.h"
#include "ppapi/proxy/host_dispatcher.h"
#include "ppapi/proxy/ppapi_messages.h"
#include "ppapi/shared_impl/proxy_lock.h"
@@ -29,18 +29,18 @@ void RequestSurroundingText(PP_Instance instance,
API_ID_PPP_TEXT_INPUT, instance, desired_number_of_characters));
}
-const PPP_TextInput_Dev g_ppp_text_input_thunk = {
+const PPP_TextInput g_ppp_text_input_thunk = {
&RequestSurroundingText
};
#else
// The NaCl plugin doesn't need the host side interface - stub it out.
-static const PPP_TextInput_Dev g_ppp_text_input_thunk = {};
+static const PPP_TextInput g_ppp_text_input_thunk = {};
#endif // !defined(OS_NACL)
} // namespace
// static
-const PPP_TextInput_Dev* PPP_TextInput_Proxy::GetProxyInterface() {
+const PPP_TextInput* PPP_TextInput_Proxy::GetProxyInterface() {
return &g_ppp_text_input_thunk;
}
@@ -48,8 +48,8 @@ PPP_TextInput_Proxy::PPP_TextInput_Proxy(Dispatcher* dispatcher)
: InterfaceProxy(dispatcher),
ppp_text_input_impl_(NULL) {
if (dispatcher->IsPlugin()) {
- ppp_text_input_impl_ = static_cast<const PPP_TextInput_Dev*>(
- dispatcher->local_get_interface()(PPP_TEXTINPUT_DEV_INTERFACE));
+ ppp_text_input_impl_ = static_cast<const PPP_TextInput*>(
+ dispatcher->local_get_interface()(PPP_TEXTINPUT_INTERFACE));
}
}

Powered by Google App Engine
This is Rietveld 408576698