diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-07 07:54:09 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-07 07:54:09 +0000 |
commit | d6a0d295c4106c105342a05bd581aa983b8650ca (patch) | |
tree | a6a44a255ae6fe229c761270e0da8e749927d9d4 | |
parent | 1853b687579bac123175a3cb156f46fd8067bc87 (diff) | |
download | chromium_src-d6a0d295c4106c105342a05bd581aa983b8650ca.zip chromium_src-d6a0d295c4106c105342a05bd581aa983b8650ca.tar.gz chromium_src-d6a0d295c4106c105342a05bd581aa983b8650ca.tar.bz2 |
Fix some random comment problems that people have noticed.
Review URL: http://codereview.chromium.org/9342005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@120741 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ppapi/api/ppb_view.idl | 15 | ||||
-rw-r--r-- | ppapi/api/ppp_instance.idl | 2 | ||||
-rw-r--r-- | ppapi/c/ppb_view.h | 17 | ||||
-rw-r--r-- | ppapi/c/ppp_instance.h | 4 |
4 files changed, 16 insertions, 22 deletions
diff --git a/ppapi/api/ppb_view.idl b/ppapi/api/ppb_view.idl index f971505..acb7958 100644 --- a/ppapi/api/ppb_view.idl +++ b/ppapi/api/ppb_view.idl @@ -14,9 +14,7 @@ label Chrome { /** * <code>PPB_View</code> represents the state of the view of an instance. - * You can get a View object with the <code>PPB_Instance.GetView()</code> - * function. Additionally, all </code>PPB_ViewChanged</code> objects are also - * <code>PPB_View</code> objects so you will receive new view information via + * You will receive new view information via * <code>PPP_Instance.DidChangeView</code>. */ [macro="PPB_VIEW_INTERFACE"] @@ -100,12 +98,11 @@ interface PPB_View { * the instance are scrolled into view. * * If the instance is scrolled off the view, the return value will be - * (0, 0, 0, 0). this state. This clip rect does <i>not</i> take into account - * page visibility. This means if the instance is scrolled into view but the - * page itself is in an invisible tab, the return rect will contain the - * visible rect assuming the page was visible. See - * <code>IsPageVisible()</code> and <code>IsVisible()</code> if you want to - * handle this case. + * (0, 0, 0, 0). This clip rect does <i>not</i> take into account page + * visibility. This means if the instance is scrolled into view but the page + * itself is in an invisible tab, the return rect will contain the visible + * rect assuming the page was visible. See <code>IsPageVisible()</code> and + * <code>IsVisible()</code> if you want to handle this case. * * Most applications will not need to worry about the clip. The recommended * behavior is to do full updates if the instance is visible as determined by diff --git a/ppapi/api/ppp_instance.idl b/ppapi/api/ppp_instance.idl index bf6a9ff..7b0b1d3 100644 --- a/ppapi/api/ppp_instance.idl +++ b/ppapi/api/ppp_instance.idl @@ -170,7 +170,7 @@ interface PPP_Instance { /** * A handle to a <code>PPB_View</code> resource identifying the new view. */ - [in] PP_Resource view_resource); + [in] PP_Resource view); /** * DidChangeFocus() is called when an instance has gained or lost focus. diff --git a/ppapi/c/ppb_view.h b/ppapi/c/ppb_view.h index 9ea7a7b..513b558 100644 --- a/ppapi/c/ppb_view.h +++ b/ppapi/c/ppb_view.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From ppb_view.idl modified Wed Jan 4 04:40:12 2012. */ +/* From ppb_view.idl modified Mon Feb 6 14:05:16 2012. */ #ifndef PPAPI_C_PPB_VIEW_H_ #define PPAPI_C_PPB_VIEW_H_ @@ -32,9 +32,7 @@ */ /** * <code>PPB_View</code> represents the state of the view of an instance. - * You can get a View object with the <code>PPB_Instance.GetView()</code> - * function. Additionally, all </code>PPB_ViewChanged</code> objects are also - * <code>PPB_View</code> objects so you will receive new view information via + * You will receive new view information via * <code>PPP_Instance.DidChangeView</code>. */ struct PPB_View_1_0 { @@ -111,12 +109,11 @@ struct PPB_View_1_0 { * the instance are scrolled into view. * * If the instance is scrolled off the view, the return value will be - * (0, 0, 0, 0). this state. This clip rect does <i>not</i> take into account - * page visibility. This means if the instance is scrolled into view but the - * page itself is in an invisible tab, the return rect will contain the - * visible rect assuming the page was visible. See - * <code>IsPageVisible()</code> and <code>IsVisible()</code> if you want to - * handle this case. + * (0, 0, 0, 0). This clip rect does <i>not</i> take into account page + * visibility. This means if the instance is scrolled into view but the page + * itself is in an invisible tab, the return rect will contain the visible + * rect assuming the page was visible. See <code>IsPageVisible()</code> and + * <code>IsVisible()</code> if you want to handle this case. * * Most applications will not need to worry about the clip. The recommended * behavior is to do full updates if the instance is visible as determined by diff --git a/ppapi/c/ppp_instance.h b/ppapi/c/ppp_instance.h index 61af440..511e742 100644 --- a/ppapi/c/ppp_instance.h +++ b/ppapi/c/ppp_instance.h @@ -3,7 +3,7 @@ * found in the LICENSE file. */ -/* From ppp_instance.idl modified Wed Jan 4 06:11:56 2012. */ +/* From ppp_instance.idl modified Mon Feb 6 14:04:52 2012. */ #ifndef PPAPI_C_PPP_INSTANCE_H_ #define PPAPI_C_PPP_INSTANCE_H_ @@ -115,7 +115,7 @@ struct PPP_Instance_1_1 { * <code>DidChangeView() is called when the position, size, or other view * attributes of the instance has changed. */ - void (*DidChangeView)(PP_Instance instance, PP_Resource view_resource); + void (*DidChangeView)(PP_Instance instance, PP_Resource view); /** * DidChangeFocus() is called when an instance has gained or lost focus. * Having focus means that keyboard events will be sent to the instance. |