Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: ppapi/proxy/resource_creation_proxy.cc

Issue 8790004: Rename the shared impl files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years 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/proxy/ppp_input_event_proxy.cc ('k') | ppapi/shared_impl/audio_config_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/resource_creation_proxy.cc
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index 0a0846eda6b135606a15b2ff15b6b9f1976bc7fe..52cce188789fb71b457dc1e42f66e08eecb4c24e 100644
--- a/ppapi/proxy/resource_creation_proxy.cc
+++ b/ppapi/proxy/resource_creation_proxy.cc
@@ -29,12 +29,12 @@
#include "ppapi/proxy/ppb_video_capture_proxy.h"
#include "ppapi/proxy/ppb_video_decoder_proxy.h"
#include "ppapi/shared_impl/api_id.h"
-#include "ppapi/shared_impl/audio_config_impl.h"
-#include "ppapi/shared_impl/font_impl.h"
#include "ppapi/shared_impl/function_group_base.h"
#include "ppapi/shared_impl/host_resource.h"
-#include "ppapi/shared_impl/input_event_impl.h"
-#include "ppapi/shared_impl/url_request_info_impl.h"
+#include "ppapi/shared_impl/ppb_audio_config_shared.h"
+#include "ppapi/shared_impl/ppb_font_shared.h"
+#include "ppapi/shared_impl/ppb_input_event_shared.h"
+#include "ppapi/shared_impl/ppb_url_request_info_shared.h"
#include "ppapi/shared_impl/var.h"
#include "ppapi/thunk/enter.h"
#include "ppapi/thunk/ppb_image_data_api.h"
@@ -73,7 +73,7 @@ PP_Resource ResourceCreationProxy::CreateAudioConfig(
PP_Instance instance,
PP_AudioSampleRate sample_rate,
uint32_t sample_frame_count) {
- return AudioConfigImpl::CreateAsProxy(
+ return PPB_AudioConfig_Shared::CreateAsProxy(
instance, sample_rate, sample_frame_count);
}
@@ -151,7 +151,7 @@ PP_Resource ResourceCreationProxy::CreateFlashNetConnector(
PP_Resource ResourceCreationProxy::CreateFontObject(
PP_Instance instance,
const PP_FontDescription_Dev* description) {
- if (!ppapi::FontImpl::IsPPFontDescriptionValid(*description))
+ if (!PPB_Font_Shared::IsPPFontDescriptionValid(*description))
return 0;
return (new Font(HostResource::MakeInstanceOnly(instance), *description))->
GetReference();
@@ -184,7 +184,7 @@ PP_Resource ResourceCreationProxy::CreateKeyboardInputEvent(
type != PP_INPUTEVENT_TYPE_KEYUP &&
type != PP_INPUTEVENT_TYPE_CHAR)
return 0;
- ppapi::InputEventData data;
+ InputEventData data;
data.event_type = type;
data.event_time_stamp = time_stamp;
data.event_modifiers = modifiers;
@@ -196,8 +196,8 @@ PP_Resource ResourceCreationProxy::CreateKeyboardInputEvent(
data.character_text = text_str->value();
}
- return (new InputEventImpl(InputEventImpl::InitAsProxy(),
- instance, data))->GetReference();
+ return (new PPB_InputEvent_Shared(PPB_InputEvent_Shared::InitAsProxy(),
+ instance, data))->GetReference();
}
PP_Resource ResourceCreationProxy::CreateMouseInputEvent(
@@ -216,7 +216,7 @@ PP_Resource ResourceCreationProxy::CreateMouseInputEvent(
type != PP_INPUTEVENT_TYPE_MOUSELEAVE)
return 0;
- ppapi::InputEventData data;
+ InputEventData data;
data.event_type = type;
data.event_time_stamp = time_stamp;
data.event_modifiers = modifiers;
@@ -225,8 +225,8 @@ PP_Resource ResourceCreationProxy::CreateMouseInputEvent(
data.mouse_click_count = click_count;
data.mouse_movement = *mouse_movement;
- return (new InputEventImpl(InputEventImpl::InitAsProxy(),
- instance, data))->GetReference();
+ return (new PPB_InputEvent_Shared(PPB_InputEvent_Shared::InitAsProxy(),
+ instance, data))->GetReference();
}
PP_Resource ResourceCreationProxy::CreateGraphics3D(
@@ -276,7 +276,7 @@ PP_Resource ResourceCreationProxy::CreateURLLoader(PP_Instance instance) {
PP_Resource ResourceCreationProxy::CreateURLRequestInfo(
PP_Instance instance,
const PPB_URLRequestInfo_Data& data) {
- return (new URLRequestInfoImpl(
+ return (new PPB_URLRequestInfo_Shared(
HostResource::MakeInstanceOnly(instance), data))->GetReference();
}
@@ -311,7 +311,7 @@ PP_Resource ResourceCreationProxy::CreateWheelInputEvent(
const PP_FloatPoint* wheel_delta,
const PP_FloatPoint* wheel_ticks,
PP_Bool scroll_by_page) {
- ppapi::InputEventData data;
+ InputEventData data;
data.event_type = PP_INPUTEVENT_TYPE_WHEEL;
data.event_time_stamp = time_stamp;
data.event_modifiers = modifiers;
@@ -319,8 +319,8 @@ PP_Resource ResourceCreationProxy::CreateWheelInputEvent(
data.wheel_ticks = *wheel_ticks;
data.wheel_scroll_by_page = PP_ToBool(scroll_by_page);
- return (new InputEventImpl(InputEventImpl::InitAsProxy(),
- instance, data))->GetReference();
+ return (new PPB_InputEvent_Shared(PPB_InputEvent_Shared::InitAsProxy(),
+ instance, data))->GetReference();
}
bool ResourceCreationProxy::Send(IPC::Message* msg) {
« no previous file with comments | « ppapi/proxy/ppp_input_event_proxy.cc ('k') | ppapi/shared_impl/audio_config_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698