summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-07 18:59:40 +0000
committerjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-07 18:59:40 +0000
commite8659661343fd9417843a60b343ba8fa71af6953 (patch)
tree9497e45ebe701b36bd6e401c28b323cd1deac5f5
parente4cbcc77d2e11a060e1232dcf60ad647a4d4dfb5 (diff)
downloadchromium_src-e8659661343fd9417843a60b343ba8fa71af6953.zip
chromium_src-e8659661343fd9417843a60b343ba8fa71af6953.tar.gz
chromium_src-e8659661343fd9417843a60b343ba8fa71af6953.tar.bz2
Fixed some TODO comments so they wouldn't show up in the docs.
Review URL: http://codereview.chromium.org/9600025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125420 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/api/pp_input_event.idl2
-rw-r--r--ppapi/api/ppb_input_event.idl13
-rw-r--r--ppapi/c/pp_input_event.h2
-rw-r--r--ppapi/c/ppb_input_event.h13
-rw-r--r--ppapi/cpp/module.h11
5 files changed, 24 insertions, 17 deletions
diff --git a/ppapi/api/pp_input_event.idl b/ppapi/api/pp_input_event.idl
index 41ea0be..d5a6389 100644
--- a/ppapi/api/pp_input_event.idl
+++ b/ppapi/api/pp_input_event.idl
@@ -112,7 +112,7 @@ struct PP_InputEvent_Mouse {
*/
float_t y;
- // TODO(brettw) figure out exactly what this means.
+ /* TODO(brettw) figure out exactly what this means.*/
int32_t click_count;
};
diff --git a/ppapi/api/ppb_input_event.idl b/ppapi/api/ppb_input_event.idl
index 7067cbf..76eb091 100644
--- a/ppapi/api/ppb_input_event.idl
+++ b/ppapi/api/ppb_input_event.idl
@@ -64,10 +64,13 @@ enum PP_InputEvent_Type {
/**
* Notification that a key transitioned from "up" to "down".
- * TODO(brettw) differentiate from KEYDOWN.
*
* Register for this event using the PP_INPUTEVENT_CLASS_KEYBOARD class.
*/
+
+ /*
+ * TODO(brettw) differentiate from KEYDOWN.
+ */
PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6,
/**
@@ -96,10 +99,12 @@ enum PP_InputEvent_Type {
PP_INPUTEVENT_TYPE_CHAR = 9,
/**
- * TODO(brettw) when is this used?
- *
* Register for this event using the PP_INPUTEVENT_CLASS_MOUSE class.
*/
+
+ /*
+ * TODO(brettw) when is this used?
+ */
PP_INPUTEVENT_TYPE_CONTEXTMENU = 10,
/**
@@ -516,7 +521,7 @@ interface PPB_MouseInputEvent {
*/
[returnByValue] PP_Point GetPosition([in] PP_Resource mouse_event);
- /**
+ /*
* TODO(brettw) figure out exactly what this means.
*/
int32_t GetClickCount([in] PP_Resource mouse_event);
diff --git a/ppapi/c/pp_input_event.h b/ppapi/c/pp_input_event.h
index 189f517..cf7277e 100644
--- a/ppapi/c/pp_input_event.h
+++ b/ppapi/c/pp_input_event.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_input_event.idl modified Fri Jan 20 13:08:22 2012. */
+/* From pp_input_event.idl modified Mon Mar 5 10:13:42 2012. */
#ifndef PPAPI_C_PP_INPUT_EVENT_H_
#define PPAPI_C_PP_INPUT_EVENT_H_
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h
index 9581054..2eb288c 100644
--- a/ppapi/c/ppb_input_event.h
+++ b/ppapi/c/ppb_input_event.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_input_event.idl modified Tue Feb 14 10:47:45 2012. */
+/* From ppb_input_event.idl modified Mon Mar 5 10:11:05 2012. */
#ifndef PPAPI_C_PPB_INPUT_EVENT_H_
#define PPAPI_C_PPB_INPUT_EVENT_H_
@@ -85,10 +85,12 @@ typedef enum {
PP_INPUTEVENT_TYPE_WHEEL = 5,
/**
* Notification that a key transitioned from "up" to "down".
- * TODO(brettw) differentiate from KEYDOWN.
*
* Register for this event using the PP_INPUTEVENT_CLASS_KEYBOARD class.
*/
+ /*
+ * TODO(brettw) differentiate from KEYDOWN.
+ */
PP_INPUTEVENT_TYPE_RAWKEYDOWN = 6,
/**
* Notification that a key was pressed. This does not necessarily correspond
@@ -113,10 +115,11 @@ typedef enum {
*/
PP_INPUTEVENT_TYPE_CHAR = 9,
/**
- * TODO(brettw) when is this used?
- *
* Register for this event using the PP_INPUTEVENT_CLASS_MOUSE class.
*/
+ /*
+ * TODO(brettw) when is this used?
+ */
PP_INPUTEVENT_TYPE_CONTEXTMENU = 10,
/**
* Notification that an input method composition process has just started.
@@ -486,7 +489,7 @@ struct PPB_MouseInputEvent_1_1 {
* mouse drags. The return value will be (0, 0) for non-mouse events.
*/
struct PP_Point (*GetPosition)(PP_Resource mouse_event);
- /**
+ /*
* TODO(brettw) figure out exactly what this means.
*/
int32_t (*GetClickCount)(PP_Resource mouse_event);
diff --git a/ppapi/cpp/module.h b/ppapi/cpp/module.h
index 871128c..07cfea9 100644
--- a/ppapi/cpp/module.h
+++ b/ppapi/cpp/module.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -56,10 +56,10 @@ class Module {
/// The get_browser_interface() function returns the internal
/// <code>get_browser_interface</code> pointer.
- /// TODO(sehr): This should be removed once the NaCl browser plugin no longer
- /// needs it.
///
/// @return A <code>PPB_GetInterface</code> internal pointer.
+ // TODO(sehr): This should be removed once the NaCl browser plugin no longer
+ // needs it.
PPB_GetInterface get_browser_interface() const {
return get_browser_interface_;
}
@@ -120,13 +120,12 @@ class Module {
// InternalInit() sets the browser interface and calls the regular Init()
/// function that can be overridden by the base classes.
///
- /// TODO(brettw) make this private when I can figure out how to make the
- /// initialize function a friend.
- ///
/// @param[in] mod A <code>PP_Module</code>.
/// @param[in] get_browser_interface The browser interface to set.
///
/// @return true if successful, otherwise false.
+ // TODO(brettw) make this private when I can figure out how to make the
+ // initialize function a friend.
bool InternalInit(PP_Module mod,
PPB_GetInterface get_browser_interface);