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

Unified Diff: ppapi/c/dev/ppb_widget_dev.h

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/c/dev/ppb_scrollbar_dev.h ('k') | ppapi/c/dev/ppb_zoom_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/dev/ppb_widget_dev.h
diff --git a/ppapi/c/dev/ppb_widget_dev.h b/ppapi/c/dev/ppb_widget_dev.h
deleted file mode 100644
index 7fec37869ccbdf5b67d9d0e32aa35dc7ec18bd92..0000000000000000000000000000000000000000
--- a/ppapi/c/dev/ppb_widget_dev.h
+++ /dev/null
@@ -1,84 +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_widget_dev.idl modified Mon Aug 20 10:21:06 2012. */
-
-#ifndef PPAPI_C_DEV_PPB_WIDGET_DEV_H_
-#define PPAPI_C_DEV_PPB_WIDGET_DEV_H_
-
-#include "ppapi/c/pp_bool.h"
-#include "ppapi/c/pp_macros.h"
-#include "ppapi/c/pp_point.h"
-#include "ppapi/c/pp_rect.h"
-#include "ppapi/c/pp_resource.h"
-#include "ppapi/c/pp_size.h"
-#include "ppapi/c/pp_stdint.h"
-
-#define PPB_WIDGET_DEV_INTERFACE_0_3 "PPB_Widget(Dev);0.3"
-#define PPB_WIDGET_DEV_INTERFACE_0_4 "PPB_Widget(Dev);0.4"
-#define PPB_WIDGET_DEV_INTERFACE PPB_WIDGET_DEV_INTERFACE_0_4
-
-/**
- * @file
- * Implementation of the widgets interface.
- */
-
-
-/**
- * @addtogroup Interfaces
- * @{
- */
-/**
- * The interface for reusing browser widgets.
- */
-struct PPB_Widget_Dev_0_4 {
- /**
- * Returns PP_TRUE if the given resource is a Widget. Returns PP_FALSE if the
- * resource is invalid or some type other than an Widget.
- */
- PP_Bool (*IsWidget)(PP_Resource resource);
- /**
- * Paint the given rectangle of the widget into the given image.
- * Returns PP_TRUE on success, PP_FALSE on failure.
- */
- PP_Bool (*Paint)(PP_Resource widget,
- const struct PP_Rect* rect,
- PP_Resource image);
- /**
- * Pass in an event to a widget. It'll return PP_TRUE if the event was
- * consumed.
- */
- PP_Bool (*HandleEvent)(PP_Resource widget, PP_Resource input_event);
- /**
- * Get the location of the widget.
- */
- PP_Bool (*GetLocation)(PP_Resource widget, struct PP_Rect* location);
- /**
- * Set the location of the widget.
- */
- void (*SetLocation)(PP_Resource widget, const struct PP_Rect* location);
- /**
- * Set scale used during paint operations.
- */
- void (*SetScale)(PP_Resource widget, float scale);
-};
-
-typedef struct PPB_Widget_Dev_0_4 PPB_Widget_Dev;
-
-struct PPB_Widget_Dev_0_3 {
- PP_Bool (*IsWidget)(PP_Resource resource);
- PP_Bool (*Paint)(PP_Resource widget,
- const struct PP_Rect* rect,
- PP_Resource image);
- PP_Bool (*HandleEvent)(PP_Resource widget, PP_Resource input_event);
- PP_Bool (*GetLocation)(PP_Resource widget, struct PP_Rect* location);
- void (*SetLocation)(PP_Resource widget, const struct PP_Rect* location);
-};
-/**
- * @}
- */
-
-#endif /* PPAPI_C_DEV_PPB_WIDGET_DEV_H_ */
-
« no previous file with comments | « ppapi/c/dev/ppb_scrollbar_dev.h ('k') | ppapi/c/dev/ppb_zoom_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698