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

Side by Side Diff: ppapi/cpp/private/flash_menu.h

Issue 8561033: Pepper: Add remaining Flash-specific C++ Pepper wrappers to ppapi_cpp.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/cpp/private/flash_menu.cc » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // TODO(viettrungluu): This (and the .cc file) contain C++ wrappers for some
6 // things in ppapi/c/private/ppb_flash_menu.h. This is currently not used in (or
7 // even compiled with) Chromium.
8
9 #ifndef PPAPI_CPP_PRIVATE_FLASH_MENU_H_ 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_MENU_H_
10 #define PPAPI_CPP_PRIVATE_FLASH_MENU_H_ 6 #define PPAPI_CPP_PRIVATE_FLASH_MENU_H_
11 7
12 #include "ppapi/c/private/ppb_flash_menu.h" 8 #include "ppapi/c/private/ppb_flash_menu.h"
13 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
14 10
15 namespace pp { 11 namespace pp {
16 12
17 class CompletionCallback; 13 class CompletionCallback;
18 class Instance; 14 class Instance;
19 class Point; 15 class Point;
20 16
21 namespace flash { 17 namespace flash {
22 18
23 class Menu : public Resource { 19 class Menu : public Resource {
24 public: 20 public:
25 // TODO(viettrungluu): Write a proper C++ wrapper of |PP_Flash_Menu|. 21 // TODO(viettrungluu): Write a proper C++ wrapper of |PP_Flash_Menu|.
26 Menu(const Instance& instance, const struct PP_Flash_Menu* menu_data); 22 Menu(const Instance& instance, const struct PP_Flash_Menu* menu_data);
27 23
28 int32_t Show(const Point& location, 24 int32_t Show(const Point& location,
29 int32_t* selected_id, 25 int32_t* selected_id,
30 const CompletionCallback& cc); 26 const CompletionCallback& cc);
31 }; 27 };
32 28
33 } // namespace flash 29 } // namespace flash
34 } // namespace pp 30 } // namespace pp
35 31
36 #endif // PPAPI_CPP_PRIVATE_FLASH_H_ 32 #endif // PPAPI_CPP_PRIVATE_FLASH_H_
OLDNEW
« no previous file with comments | « no previous file | ppapi/cpp/private/flash_menu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698