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

Side by Side Diff: ppapi/api/dev/ppb_widget_dev.idl

Issue 10824386: Add SetScale to PPB_WidgetDev, use scale for painting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_widget_dev.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * Implementation of the widgets interface. 7 * Implementation of the widgets interface.
8 */ 8 */
9 9
10 label Chrome { 10 label Chrome {
11 M14 = 0.3 11 M14 = 0.3,
12 M23 = 0.4
12 }; 13 };
13 14
14 /** 15 /**
15 * The interface for reusing browser widgets. 16 * The interface for reusing browser widgets.
16 */ 17 */
17 interface PPB_Widget_Dev { 18 interface PPB_Widget_Dev {
18 /** 19 /**
19 * Returns PP_TRUE if the given resource is a Widget. Returns PP_FALSE if the 20 * Returns PP_TRUE if the given resource is a Widget. Returns PP_FALSE if the
20 * resource is invalid or some type other than an Widget. 21 * resource is invalid or some type other than an Widget.
21 */ 22 */
(...skipping 17 matching lines...) Expand all
39 * Get the location of the widget. 40 * Get the location of the widget.
40 */ 41 */
41 PP_Bool GetLocation([in] PP_Resource widget, 42 PP_Bool GetLocation([in] PP_Resource widget,
42 [out] PP_Rect location); 43 [out] PP_Rect location);
43 44
44 /** 45 /**
45 * Set the location of the widget. 46 * Set the location of the widget.
46 */ 47 */
47 void SetLocation([in] PP_Resource widget, 48 void SetLocation([in] PP_Resource widget,
48 [in] PP_Rect location); 49 [in] PP_Rect location);
50
51 /**
52 * Set scale used during paint operations.
53 */
54 [version=0.4]
55 void SetScale([in] PP_Resource widget,
56 [in] float_t scale);
49 }; 57 };
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/dev/ppb_widget_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698