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

Side by Side Diff: ppapi/cpp/text_input_controller.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years 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 | « ppapi/cpp/private/pdf.h ('k') | ppapi/host/host_factory.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TEXT_INPUT_CONTROLLER_H_ 5 #ifndef PPAPI_CPP_TEXT_INPUT_CONTROLLER_H_
6 #define PPAPI_CPP_TEXT_INPUT_CONTROLLER_H_ 6 #define PPAPI_CPP_TEXT_INPUT_CONTROLLER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "ppapi/c/ppb_text_input_controller.h" 12 #include "ppapi/c/ppb_text_input_controller.h"
13 #include "ppapi/cpp/instance_handle.h" 13 #include "ppapi/cpp/instance_handle.h"
14 #include "ppapi/cpp/var.h" 14 #include "ppapi/cpp/var.h"
15 15
16 /// @file 16 /// @file
17 /// This file defines the APIs for text input handling. 17 /// This file defines the APIs for text input handling.
18 18
19 namespace pp { 19 namespace pp {
20 20
21 class Rect; 21 class Rect;
22 class Instance;
23 22
24 /// This class can be used for giving hints to the browser about the text input 23 /// This class can be used for giving hints to the browser about the text input
25 /// status of plugins. 24 /// status of plugins.
26 class TextInputController { 25 class TextInputController {
27 public: 26 public:
28 /// A constructor for creating a <code>TextInputController</code>. 27 /// A constructor for creating a <code>TextInputController</code>.
29 /// 28 ///
30 /// @param[in] instance The instance with which this resource will be 29 /// @param[in] instance The instance with which this resource will be
31 /// associated. 30 /// associated.
32 explicit TextInputController(const InstanceHandle& instance); 31 explicit TextInputController(const InstanceHandle& instance);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 uint32_t caret, 65 uint32_t caret,
67 uint32_t anchor); 66 uint32_t anchor);
68 67
69 private: 68 private:
70 InstanceHandle instance_; 69 InstanceHandle instance_;
71 }; 70 };
72 71
73 } // namespace pp 72 } // namespace pp
74 73
75 #endif // PPAPI_CPP_TEXT_INPUT_CONTROLLER_H_ 74 #endif // PPAPI_CPP_TEXT_INPUT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/private/pdf.h ('k') | ppapi/host/host_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698