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

Unified Diff: ppapi/shared_impl/ppb_image_data_shared.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/shared_impl/ppb_image_data_shared.h ('k') | ppapi/shared_impl/ppb_input_event_shared.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_image_data_shared.cc
diff --git a/ppapi/shared_impl/image_data_impl.cc b/ppapi/shared_impl/ppb_image_data_shared.cc
similarity index 74%
rename from ppapi/shared_impl/image_data_impl.cc
rename to ppapi/shared_impl/ppb_image_data_shared.cc
index e07d2cb83a385d561713860df15d112ec42cb641..b0935e4f6162af53ca04e1c42c06f47c142ea4c6 100644
--- a/ppapi/shared_impl/image_data_impl.cc
+++ b/ppapi/shared_impl/ppb_image_data_shared.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ppapi/shared_impl/image_data_impl.h"
+#include "ppapi/shared_impl/ppb_image_data_shared.h"
#include "third_party/skia/include/core/SkTypes.h"
namespace ppapi {
// static
-PP_ImageDataFormat ImageDataImpl::GetNativeImageDataFormat() {
+PP_ImageDataFormat PPB_ImageData_Shared::GetNativeImageDataFormat() {
if (SK_B32_SHIFT == 0)
return PP_IMAGEDATAFORMAT_BGRA_PREMUL;
else if (SK_R32_SHIFT == 0)
@@ -19,7 +19,8 @@ PP_ImageDataFormat ImageDataImpl::GetNativeImageDataFormat() {
}
// static
-bool ImageDataImpl::IsImageDataFormatSupported(PP_ImageDataFormat format) {
+bool PPB_ImageData_Shared::IsImageDataFormatSupported(
+ PP_ImageDataFormat format) {
return format == PP_IMAGEDATAFORMAT_BGRA_PREMUL ||
format == PP_IMAGEDATAFORMAT_RGBA_PREMUL;
}
« no previous file with comments | « ppapi/shared_impl/ppb_image_data_shared.h ('k') | ppapi/shared_impl/ppb_input_event_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698