Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef PPAPI_CPP_INPUT_EVENT_H_ | 5 #ifndef PPAPI_CPP_INPUT_EVENT_H_ |
| 6 #define PPAPI_CPP_INPUT_EVENT_H_ | 6 #define PPAPI_CPP_INPUT_EVENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" | |
|
Wez
2012/02/17 01:31:01
Don't need this.
garykac
2012/02/17 18:25:30
Done.
| |
| 10 #include "ppapi/c/ppb_input_event.h" | 11 #include "ppapi/c/ppb_input_event.h" |
| 11 #include "ppapi/cpp/resource.h" | 12 #include "ppapi/cpp/resource.h" |
| 12 | 13 |
| 13 /// @file | 14 /// @file |
| 14 /// This file defines the API used to handle mouse and keyboard input events. | 15 /// This file defines the API used to handle mouse and keyboard input events. |
| 15 | 16 |
| 16 namespace pp { | 17 namespace pp { |
| 17 | 18 |
| 18 class FloatPoint; | 19 class FloatPoint; |
| 19 class Instance; | 20 class Instance; |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 294 /// | 295 /// |
| 295 /// @return A string var representing a single typed character for character | 296 /// @return A string var representing a single typed character for character |
| 296 /// input events. For non-character input events the return value will be an | 297 /// input events. For non-character input events the return value will be an |
| 297 /// undefined var. | 298 /// undefined var. |
| 298 Var GetCharacterText() const; | 299 Var GetCharacterText() const; |
| 299 }; | 300 }; |
| 300 | 301 |
| 301 } // namespace pp | 302 } // namespace pp |
| 302 | 303 |
| 303 #endif // PPAPI_CPP_INPUT_EVENT_H_ | 304 #endif // PPAPI_CPP_INPUT_EVENT_H_ |
| OLD | NEW |