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

Unified Diff: ppapi/thunk/ppb_zoom_dev_thunk.cc

Issue 1161563002: Remove unused in-process pepper APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/thunk/ppb_widget_dev_thunk.cc ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_zoom_dev_thunk.cc
diff --git a/ppapi/thunk/ppb_zoom_dev_thunk.cc b/ppapi/thunk/ppb_zoom_dev_thunk.cc
deleted file mode 100644
index 2ff239652d5f1c0414aa5439845fced6e7553ca5..0000000000000000000000000000000000000000
--- a/ppapi/thunk/ppb_zoom_dev_thunk.cc
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// From dev/ppb_zoom_dev.idl modified Tue May 7 14:43:00 2013.
-
-#include "ppapi/c/dev/ppb_zoom_dev.h"
-#include "ppapi/c/pp_errors.h"
-#include "ppapi/shared_impl/tracked_callback.h"
-#include "ppapi/thunk/enter.h"
-#include "ppapi/thunk/ppapi_thunk_export.h"
-
-namespace ppapi {
-namespace thunk {
-
-namespace {
-
-void ZoomChanged(PP_Instance instance, double factor) {
- VLOG(4) << "PPB_Zoom_Dev::ZoomChanged()";
- EnterInstance enter(instance);
- if (enter.failed())
- return;
- enter.functions()->ZoomChanged(instance, factor);
-}
-
-void ZoomLimitsChanged(PP_Instance instance,
- double minimum_factor,
- double maximum_factor) {
- VLOG(4) << "PPB_Zoom_Dev::ZoomLimitsChanged()";
- EnterInstance enter(instance);
- if (enter.failed())
- return;
- enter.functions()->ZoomLimitsChanged(instance, minimum_factor,
- maximum_factor);
-}
-
-const PPB_Zoom_Dev_0_2 g_ppb_zoom_dev_thunk_0_2 = {&ZoomChanged,
- &ZoomLimitsChanged};
-
-} // namespace
-
-PPAPI_THUNK_EXPORT const PPB_Zoom_Dev_0_2* GetPPB_Zoom_Dev_0_2_Thunk() {
- return &g_ppb_zoom_dev_thunk_0_2;
-}
-
-} // namespace thunk
-} // namespace ppapi
« no previous file with comments | « ppapi/thunk/ppb_widget_dev_thunk.cc ('k') | ppapi/thunk/resource_creation_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698