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

Unified Diff: ppapi/thunk/ppb_view_thunk.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: leiz Created 8 years, 3 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/proxy/ppp_instance_proxy.cc ('k') | remoting/jingle_glue/xmpp_signal_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_view_thunk.cc
diff --git a/ppapi/thunk/ppb_view_thunk.cc b/ppapi/thunk/ppb_view_thunk.cc
index ea6f6245311a617f91f5d6a8ab220777ab370551..c9a88b7cf4cb3eef1a4a44206008f4a783d11844 100644
--- a/ppapi/thunk/ppb_view_thunk.cc
+++ b/ppapi/thunk/ppb_view_thunk.cc
@@ -25,14 +25,6 @@ PP_Bool IsView(PP_Resource resource) {
return enter.succeeded() ? PP_TRUE : PP_FALSE;
}
-PP_Bool GetSize(PP_Resource resource, PP_Size* size) {
- EnterView enter(resource, true);
- if (enter.failed() || !size)
- return PP_FALSE;
- *size = enter.object()->GetData().rect.size;
- return PP_TRUE;
-}
-
PP_Bool GetRect(PP_Resource resource, PP_Rect* viewport) {
EnterView enter(resource, true);
if (enter.failed() || !viewport)
@@ -63,13 +55,6 @@ PP_Bool IsPageVisible(PP_Resource resource) {
return PP_FromBool(enter.object()->GetData().is_page_visible);
}
-PP_Bool IsClipVisible(PP_Resource resource) {
- EnterView enter(resource, true);
- if (enter.failed())
- return PP_FALSE;
- return PP_FromBool(IsRectVisible(enter.object()->GetData().clip_rect));
-}
-
PP_Bool GetClipRect(PP_Resource resource, PP_Rect* clip) {
EnterView enter(resource, true);
if (enter.failed() || !clip)
« no previous file with comments | « ppapi/proxy/ppp_instance_proxy.cc ('k') | remoting/jingle_glue/xmpp_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698