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

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

Issue 12220082: IDL: Autogenerate thunk .cc file for PPB_View (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | ppapi/api/ppb_view.idl » ('j') | ppapi/shared_impl/ppb_view_shared.cc » ('J')
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 /* This file contains the <code>PPB_View_Dev</code> interface. */ 6 /* This file contains the <code>PPB_View_Dev</code> interface. */
7
8 [generate_thunk]
9
7 label Chrome { 10 label Chrome {
8 M22 = 0.1 11 M22 = 0.1
9 }; 12 };
10 13
11 /* PPB_View_Dev interface */ 14 /* PPB_View_Dev interface */
12 interface PPB_View_Dev { 15 interface PPB_View_Dev {
13 /** 16 /**
14 * GetDeviceScale returns the scale factor between device pixels and DIPs 17 * GetDeviceScale returns the scale factor between device pixels and DIPs
15 * (also known as logical pixels or UI pixels on some platforms). This allows 18 * (also known as logical pixels or UI pixels on some platforms). This allows
16 * the developer to render their contents at device resolution, even as 19 * the developer to render their contents at device resolution, even as
(...skipping 17 matching lines...) Expand all
34 * 37 *
35 * @param[in] resource A <code>PP_Resource</code> corresponding to a 38 * @param[in] resource A <code>PP_Resource</code> corresponding to a
36 * <code>PPB_View</code> resource. 39 * <code>PPB_View</code> resource.
37 * 40 *
38 * @return css_scale A <code>float</code> value representing the number of 41 * @return css_scale A <code>float</code> value representing the number of
39 * DIPs per CSS pixel. If the resource is invalid, the value will be 0.0. 42 * DIPs per CSS pixel. If the resource is invalid, the value will be 0.0.
40 */ 43 */
41 float_t GetCSSScale([in] PP_Resource resource); 44 float_t GetCSSScale([in] PP_Resource resource);
42 }; 45 };
43 46
OLDNEW
« no previous file with comments | « no previous file | ppapi/api/ppb_view.idl » ('j') | ppapi/shared_impl/ppb_view_shared.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698