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

Unified Diff: ppapi/proxy/ppb_font_proxy.cc

Issue 7655002: Convert the pp::proxy namespace to the ppapi::proxy namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/ppb_font_proxy.cc
diff --git a/ppapi/proxy/ppb_font_proxy.cc b/ppapi/proxy/ppb_font_proxy.cc
index 2760c0b9a112c98783311aa2a62dbf55f1bdbe30..4387a045591962fc5cc469c2fb493bde6da7a37f 100644
--- a/ppapi/proxy/ppb_font_proxy.cc
+++ b/ppapi/proxy/ppb_font_proxy.cc
@@ -18,14 +18,10 @@
#include "ppapi/thunk/ppb_image_data_api.h"
#include "ppapi/thunk/thunk.h"
-using ppapi::HostResource;
-using ppapi::Resource;
-using ppapi::StringVar;
using ppapi::thunk::EnterResourceNoLock;
using ppapi::thunk::PPB_ImageData_API;
bbudge 2011/08/16 22:40:49 Why not also declare PPB_Font_API and PPB_Font_Fun
-using ppapi::WebKitForwarding;
-namespace pp {
+namespace ppapi {
namespace proxy {
namespace {
@@ -60,7 +56,7 @@ PPB_Font_Proxy::~PPB_Font_Proxy() {
// static
const InterfaceProxy::Info* PPB_Font_Proxy::GetInfo() {
static const Info info = {
- ::ppapi::thunk::GetPPB_Font_Thunk(),
+ thunk::GetPPB_Font_Thunk(),
PPB_FONT_DEV_INTERFACE,
INTERFACE_ID_PPB_FONT,
false,
@@ -69,7 +65,7 @@ const InterfaceProxy::Info* PPB_Font_Proxy::GetInfo() {
return &info;
}
-::ppapi::thunk::PPB_Font_FunctionAPI* PPB_Font_Proxy::AsPPB_Font_FunctionAPI() {
+thunk::PPB_Font_FunctionAPI* PPB_Font_Proxy::AsPPB_Font_FunctionAPI() {
return this;
}
@@ -117,7 +113,7 @@ Font::~Font() {
RunOnWebKitThread(false, base::Bind(&DeleteFontForwarding, font_forwarding_));
}
-ppapi::thunk::PPB_Font_API* Font::AsPPB_Font_API() {
+thunk::PPB_Font_API* Font::AsPPB_Font_API() {
return this;
}
@@ -229,10 +225,9 @@ void Font::RunOnWebKitThread(bool blocking, const base::Closure& task) {
}
// static
-void Font::DeleteFontForwarding(
- ppapi::WebKitForwarding::Font* font_forwarding) {
+void Font::DeleteFontForwarding(WebKitForwarding::Font* font_forwarding) {
delete font_forwarding;
}
} // namespace proxy
-} // namespace pp
+} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698