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

Unified Diff: ppapi/tests/test_ime_input_event.cc

Issue 18671004: PPAPI: Move IMEInputEvent and TextInput to stable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing one comment 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
« no previous file with comments | « ppapi/tests/test_ime_input_event.h ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_ime_input_event.cc
diff --git a/ppapi/tests/test_ime_input_event.cc b/ppapi/tests/test_ime_input_event.cc
index 500fcbbf08c8232f53920a5048ca846d8170db35..70b77e7aeb158a8cbab6c2e4551b404c60e1b5bd 100644
--- a/ppapi/tests/test_ime_input_event.cc
+++ b/ppapi/tests/test_ime_input_event.cc
@@ -4,11 +4,9 @@
#include "ppapi/tests/test_ime_input_event.h"
-#include "ppapi/c/dev/ppb_ime_input_event_dev.h"
#include "ppapi/c/dev/ppb_testing_dev.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/ppb_input_event.h"
-#include "ppapi/cpp/dev/ime_input_event_dev.h"
#include "ppapi/cpp/input_event.h"
#include "ppapi/cpp/module.h"
#include "ppapi/tests/test_utils.h"
@@ -63,9 +61,9 @@ bool TestImeInputEvent::Init() {
static_cast<const PPB_KeyboardInputEvent*>(
pp::Module::Get()->GetBrowserInterface(
PPB_KEYBOARD_INPUT_EVENT_INTERFACE));
- ime_input_event_interface_ = static_cast<const PPB_IMEInputEvent_Dev*>(
+ ime_input_event_interface_ = static_cast<const PPB_IMEInputEvent*>(
pp::Module::Get()->GetBrowserInterface(
- PPB_IME_INPUT_EVENT_DEV_INTERFACE));
+ PPB_IME_INPUT_EVENT_INTERFACE));
bool success =
input_event_interface_ &&
@@ -136,7 +134,7 @@ void TestImeInputEvent::DidChangeView(const pp::View& view) {
}
pp::InputEvent TestImeInputEvent::CreateImeCompositionStartEvent() {
- return pp::IMEInputEvent_Dev(
+ return pp::IMEInputEvent(
instance_,
PP_INPUTEVENT_TYPE_IME_COMPOSITION_START,
100, // time_stamp
@@ -152,7 +150,7 @@ pp::InputEvent TestImeInputEvent::CreateImeCompositionUpdateEvent(
const std::vector<uint32_t>& segments,
int32_t target_segment,
const std::pair<uint32_t, uint32_t>& selection) {
- return pp::IMEInputEvent_Dev(
+ return pp::IMEInputEvent(
instance_,
PP_INPUTEVENT_TYPE_IME_COMPOSITION_UPDATE,
100, // time_stamp
@@ -165,7 +163,7 @@ pp::InputEvent TestImeInputEvent::CreateImeCompositionUpdateEvent(
pp::InputEvent TestImeInputEvent::CreateImeCompositionEndEvent(
const std::string& text) {
- return pp::IMEInputEvent_Dev(
+ return pp::IMEInputEvent(
instance_,
PP_INPUTEVENT_TYPE_IME_COMPOSITION_END,
100, // time_stamp
@@ -177,7 +175,7 @@ pp::InputEvent TestImeInputEvent::CreateImeCompositionEndEvent(
}
pp::InputEvent TestImeInputEvent::CreateImeTextEvent(const std::string& text) {
- return pp::IMEInputEvent_Dev(
+ return pp::IMEInputEvent(
instance_,
PP_INPUTEVENT_TYPE_IME_TEXT,
100, // time_stamp
« no previous file with comments | « ppapi/tests/test_ime_input_event.h ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698